Have created a contextual ribbon and added the same to the standard values of my desired Template. The functionality is working good. But I wish to restrict the access of this Ribbon to only few users / admin. How to achieve the same?

  • create a specific role and add this role to the core item created for ribbon. under the security section , you can add the new role
    – Abhay Dhar
    Aug 20, 2020 at 8:53

1 Answer 1


Able to achieve this, by implementing the QueryState() method in the command class.

Thanks to this blog by John west-https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/all-about-the-content-editor-ribbon-in-the-sitecore-asp-net-cms

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.