I got a problem in AEM 6.1. I created some groups in an author instance (ex: group1, group2) and assign these groups to contributor group of AEM. After that, grant some permissions (read, modify, delete in /content node) for these groups.
I would like to package these groups (include permissions) and install into other author instance. Package node under /home/groups, /content/rep:policy and even /jcr:system/rep:permissionStore/crx.default, then install into other author instance.
Problem: In the second author instance, only have the groups. The permissions of the groups cannot installed into this instance. Need to grant permissions again.
Does anyone have a solution for this.
Thank you very much.
if you have to create package of all ACL to migrate from one CQ instance to another you can use xpath query for package as //element(*,rep:ACL)
see this -http://www.wemblog.com/2011/11/how-to-create-package-based-on-xpath-in.html
Also this - https://adobe-consulting-services.github.io/acs-aem-commons/features/acl-packager.html