AnswerBun.com

How to restrict the Security access for Sitecore Contextual ribbons

Sitecore Asked by iMathi on December 19, 2020

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?

One Answer

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

Answered by iMathi on December 19, 2020

Add your own answers!

Related Questions

Show current date in yy/MM/dd format

0  Asked on November 20, 2021

 

Using Model in Scriban template

1  Asked on November 7, 2021

   

Using List in SXA rendering variant

1  Asked on November 4, 2021

 

How do I query GraphQL using SPE?

1  Asked on August 23, 2021 by bic

     

LowerCaseKeywordAnalyzer does not work

0  Asked on August 23, 2021 by vivek-venugopalan

   

Add a Buyer Role to a User programatically

0  Asked on August 23, 2021 by shrad

 

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP