Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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 

View solution in original post

5 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 

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