I have a requirement to disable component dialog so that only the specific group of users can edit. I have 2 components in page. But only one component is getting non-editable. Please find the below code. I have included the below code's WCMUsePojo class at template level but no use. I even kept this in other component but not working. How can I make all the components in a page non-editable? Please suggest.
ComponentContext componentContext = WCMUtils.getComponentContext(getRequest());
Thanks in Advance.
Solved! Go to Solution.
Hi @Dinu_Arya ,
If all the components in a page should be restricted to a certain groups, Please configure it through Group permissions.
else if its only for some components please check if the below thread helps.