Restricting the allowed component to a single component

Avatar

Avatar

titusrk

Avatar

titusrk

titusrk

11-05-2018

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 ??

Replies

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

11-05-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.

editableTemplate.png

Authors should not be allowed to modify template policies.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

11-05-2018

Anyone reading this thread (users who have older versions of AEM for example) and want to know HOW TO use editable templates within AEM - see Adobe Experience Manager Help | Creating an Adobe Experience Manager 6.4 website using Editable Temp...

Avatar

Avatar

titusrk

Avatar

titusrk

titusrk

11-05-2018

can authors be able to modify the policies ?
or access the policies ??

Avatar

Avatar

titusrk

Avatar

titusrk

titusrk

11-05-2018

1485446_pastedImage_0.png

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 ?

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

11-05-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

Avatar

Avatar

titusrk

Avatar

titusrk

titusrk

11-05-2018

Thanks a lot.
Appreciate the sudden response.