Expand my Community achievements bar.

SOLVED

Regular Expression For ACLs

Avatar

Level 1

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

 

AEMGeek_1-1729020349773.png

Any help would be appreciated 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

 

The examples are quite helpful.

View solution in original post

3 Replies

Avatar

Community Advisor

@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?

Avatar

Level 1

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/*/"

 

Avatar

Correct answer by
Employee Advisor

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

 

The examples are quite helpful.