Regular Expression For ACLs | Community
Skip to main content
Level 2
October 15, 2024
Solved

Regular Expression For ACLs

  • October 15, 2024
  • 2 replies
  • 801 views

Hey All,

 

I need set permissions in a dynamic way for example

usergroup needs to have read permissions on Parent and full access on child

 

so parent -> read only

Child A -> full

Child B -> full

 

Here is the issue. When an admin adds child C then:

 

parent-> read only

Child A -> full

Child B -> full

Child C -> full

 

Any help would be appreciated 

 

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 joerghoh

Please the documentation on Apache Oak Restriction Management: https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html#rep-glob-details-and-examples

 

The examples are quite helpful.

2 replies

Shashi_Mulugu
Community Advisor
Community Advisor
October 16, 2024

@aemgeek can you more specific as what actions you have tried and whats the issue you are facing? Any challenges in implementing the given requirements? Also what kind of aem deployment you are in? Aem on-prem or AMS or Cloud?

AEMGeekAuthor
Level 2
October 16, 2024

The issue is I don't believe you can put a regular expression on acl's. I want to give read/write to /content/site/path/*/ .... so:

 

/content/site/path/child1/

/content/site/path/child2/

/content/site/path/child2/

those would all work. then a user comes and creates child3 folder and the usergroup would already have permissions because we gave read/write to this path "/content/site/path/*/"

 

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 17, 2024

Please the documentation on Apache Oak Restriction Management: https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html#rep-glob-details-and-examples

 

The examples are quite helpful.