Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Backing up ACL Permissions

Avatar

Level 5

I'd like to package all of the ACL permissions under /content/business ... including it's subdirectories

I've tried a number of ways to create a package but none of them work.  Do I really have to create a filter for each individual rep:policy?

/content/business/node1/rep:policy

/content/business/node2/rep:policy

/content/business/node3/rep:policy

If I spell each one of them out, it works .... but that's a maintenance nightmare.

I'd like to do something like the following filter (but cannot get it to work):

    /content/business(.*)

    include rep:policy

Any insight is appreciated.

-Dean

1 Accepted Solution

Avatar

Correct answer by
Administrator
3 Replies

Avatar

Correct answer by
Administrator

Avatar

Level 7

You can apply rules on top of root path.

Like while creating a package. Go to filter add root plat and then add rule to include or exclude. Where you can write expressions like   /content/business(.*)