Restrictions are not working. | Community
Skip to main content
Level 6
September 22, 2022
Solved

Restrictions are not working.

  • September 22, 2022
  • 1 reply
  • 1347 views

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

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?

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
September 22, 2022

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
Level 6
September 22, 2022

Hi @arunpatidar 

Will you please explain little about above usecase.