Restricting the allowed component to a single component | Community
Skip to main content
Level 2
May 11, 2018

Restricting the allowed component to a single component

  • May 11, 2018
  • 1 reply
  • 3605 views

In AEM 6.3, is there any way to restrict the author to a single allowed component ?

or if i create a policy , is there any way to lock the policy so that author doesn't go about and add further allowed components ??

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

1 reply

smacdonald2008
Level 10
May 11, 2018

In AEM 6.3 - you should use Editable Templates and then define the components that are allowed in the Layout by using a policy. Once successfully done - the allowed components will show up in the editable template layout section.

Authors should not be allowed to modify template policies.

Level 2
May 11, 2018

If author go about & consequently modified the policies to add couple of additional allowed components , is there any way to restrict (except for one component) addition of others by displaying a popup mentioning that " This component could not be added " ??

or is my approach wrong ?

Also it would have been helpful to know , where the policies are stored ?

smacdonald2008
Level 10
May 11, 2018

You can always setup groups and place authors in a group that cannot modify editable templates.

All editable templates info is stored in the JCR here -- /conf/<PROJECT_NAME>/settings