Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Remove replicate permission for administrators - AEM 6.4

Avatar

Level 4

Hello AEM Gurus,

 

We have a requirement to prevent everyone (including administrators) from replicating assets from a certain path under /content/dam. I have removed replicate permission for this path (eg /content/dam/testfldr) for all of the groups including the administrators group. But users in this administrators group are still able to replicate the assets under this path. When I see the permissions for administrators in useradmin for /content/dam/testfldr path, it has a *! markup next to the Replicate checkbox. When I hover over that checkbox, it says "Noneffective administrators (deny)" in a modal popup.

 

Is it possible to prevent administrators from replicating assets from certain paths? If setting permission through useradmin is not possible, is there an alternative way to achieve this?

 

Appreciate any help/pointers on this.

-SKM

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

To guide you better, try not to use OOTB administrators group instead create your own client/project specific admin groups upon which you control permissions to each subtree and add people to it. Try to restrict to only add system admins to OOTB group for system maintenance.

View solution in original post

10 Replies

Avatar

Employee

Can you verify if can do it via ACLs for individual path in crx/de ?

Screen Shot 2020-06-01 at 9.56.13 PM.png

Avatar

Community Advisor

Hi @skmAem 

 

I'm not sure but you can't change admin permission in AEM. If you try to do so, it will revert back to default again.

The role of admin to control and manage everything so restricting it for any action won't make any sense.

 

Regards,

Arpit Varshney

Avatar

Correct answer by
Community Advisor

To guide you better, try not to use OOTB administrators group instead create your own client/project specific admin groups upon which you control permissions to each subtree and add people to it. Try to restrict to only add system admins to OOTB group for system maintenance.

Avatar

Level 4

Thanks @Shashi_Mulugu,

 

We will follow this approach to create custom admin group and assign permissions accordingly.

 

Best Regards,

SKM

Avatar

Level 4

@hamidk92094312 

When I denied the replicate permission through useradmin, i can see that the deny for crx:replicate action for administrators group in crxde access control tab. Pls see the screenshot. But it still allows a user in the administrators group to replicate assets.Screen Shot 2020-06-02 at 9.58.01 AM.png

 

@Shashi_Mulugu  & @ArpitVarshney , I agree that we should have followed the setup as you mentioned, but unfortunately I recently joined this project and they already have several power users added under administrators group for some reason. How do I work around it? 

 

On this document: https://docs.adobe.com/content/help/en/experience-manager-64/administering/security/security.html they say you set "deny-everyone" on a node, administrators will have to be enabled explicitly to get them the access, what do they mean by "deny-everyone"? Pls see screenshot below:Screen Shot 2020-06-02 at 10.09.16 AM.png

Thanks everyone for your inputs!

-Shridev

Avatar

Employee

It's true .. it seems its not possible to achieve this via permission restrictions.

Avatar

Community Advisor
Eventhough it is existing project you can simply create a new admin-level group and move the users to from OOTB group to new group.. I feel that should be simple and optimal solutions instead of customizing touchui and implementing custom JS..

Avatar

Level 4

If it is not possible to prevent replication through permissions, is it possible to prevent it through touch ui/granite for everyone for a specific folder in dam? Any suggestions for this approach?

Avatar

Community Advisor

Hi @skmAem 

I think it is not possible to change admin permission by anyway. Even though you will deny for everyone, admin can still access it because of its role in AEM. 

 

Regards,

Arpit

Avatar

Level 4

Hi @ArpitVarshney, when you say "admin" account, do you mean anyone in the administrators group or the ootb "admin" account?

 

Thanks & Regards,

SKM