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
Q&A
Please use this thread to ask the related questions.
Kautuk Sahni