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

Deploying Groups and ACLs through package manager

Avatar

Level 1

Hello All,

We are trying to deploy user groups and permissions as part of package deployment.

First time when we deploy it, it works fine and we can see all groups and permissions set for them available in the environment we deployed.

Next we assign some users to the deployed group which adds rep:members weakreferences[] to those users.

Now if we deploy groups and permissions package again, it removed the rep:members property even when we tried various AC handling options.

Please let us how can we retain the weak references array while managing groups and permissions deployment through packages.

Many Thanks

Best Regards,

Shishank 

3 Replies

Avatar

Level 1

Hello Steve,

I have looked at the community blog before. The issue is that we do not want to update rep:members property but the rest.

Overwrite will change the value from what's defined in the package.

Thanks

Avatar

Administrator

Hi 

I would recommend you to use:-

Link:- https://adobe-consulting-services.github.io/acs-aem-commons/features/acl-packager.html

//Frequently, access control entries need to be copied from one environment to another without copying the actual content itself, just the access control entries. This user interface allows you to define and build packages containing access control entries for particular paths and/or particular principals.

Another Reference link:- http://www.wemblog.com/2011/11/how-to-create-package-based-on-xpath-in.html

 

I hope this will help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni