AEM - Restrict Component Editing and Allowed Only for Certain Users | AEM Community Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
April 15, 2020

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

  • April 15, 2020
  • 1 reply
  • 2980 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 2
November 10, 2022

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