Node with deny permission editable by users on administrators group - AEM 6.5

Avatar

Avatar

abcr1

Avatar

abcr1

abcr1

06-11-2020

Hi community!

 

I have a node on CRX with rep:policy deny jcr:write to everyone, I have modified permission programatically because I need to activate / deactivate permissions according to  property, but users on administrators group can modify node. Why?? Any suggestion?  I am working with AEM 6.5  Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

ramgopalm545617

Avatar

ramgopalm545617

ramgopalm545617

08-11-2020

It all depends on the order of the ACLs in aem, go to crx de and check the access control in the right side panel. 

Try rearranging the order of the rules, you can drag the ACLs in the list, the last rule will take precedence. 

Answers (1)

Answers (1)

Avatar

Avatar

sureshd71454102

Avatar

sureshd71454102

sureshd71454102

06-11-2020

by default administrators group has full control - the precedence is deny first and then allow, as the admin group has full access, the users on admin group will get automatically all access including modify.

You can try create a custom admin group and add those users, then provide necessary access.