1

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?

1
  • 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
    Commented Aug 20, 2020 at 8:53

1 Answer 1

0

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 you have read our privacy policy.

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