Expand my Community achievements bar.

AEM - Restrict Component Editing and Allowed Only for Certain Users | AEM Community Seeding

Avatar

Administrator

BlogImage.jpg

AEM - Restrict Component Editing and Allowed Only for Certain Users by Arun Patider

Abstract

Disable Component Editing via dialog except few users In AEM majorly content is created using component's dialog. Sometimes few type of contents is meant to be edited only by certain authors and are not suppose to modify or create by other authors. In this case how can we protect these type of components should not be updated by non-authorised users. In AEM when a component in a web page is rendered, an HTML element can be generated, wrapping the rendered component within itself. This primarily serves two purposes: A component can only be edited when it is wrapped with an HTML element. The wrapping element is used to apply HTML classes that provide: layout information styling information More info about Decoration Tag available at Decoration Tag If cq:noDecoration {boolean}, This property added to a component and a true value forces AEM not to generate any wrapper elements over the component.This property set the decoration tag based on boolean value. But decoration property can also be set programatically, [JAVA API]

Read Full Blog

AEM - Restrict Component Editing and Allowed Only for Certain Users

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 2

Might be late to ask question on this thread, will this restrict the component to show from sidekick?