Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Restrictions are not working.

Avatar

Level 7

Hi I have added rep:glob restriction on "/content/we-retail/us"  as shown in below fig.

akshaybhujbale_0-1663829257955.png

When I am login Aem using TestUser credentials I should not able to access /content/we-retail/us as it is in restriction but TestUser able to access. Why this is so?

akshaybhujbale_1-1663829408508.png

Please let me know how restriction are working and why it behaving as above in this case.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

will allow type with below restriction

rep:glob Result
/us ‘/content/we-retail/us’ and all it's descendants

 

 

Please check details at https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html 



Arun Patidar

View solution in original post

6 Replies

Avatar

Correct answer by
Community Advisor

Hi,

will allow type with below restriction

rep:glob Result
/us ‘/content/we-retail/us’ and all it's descendants

 

 

Please check details at https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html 



Arun Patidar

Avatar

Community Advisor

Hi,

If you want to deny access then you have to use deny not allow

http://localhost:4502/useradmin will give you the better picture of permissions



Arun Patidar