Skip to main content
Feb 23, 2016 6:40 PM UTC
Solved

Exporting AEM users, groups and ACL permissions and importing to a different instance

I've searched high and low for details on how to package up users and their ACL permissions from a source AEM instance and import to a destination and the user's ACL permissions are maintained with no luck whatsoever.  When I install the package on the destination it imports the user and their associated groups but the permissions are never carried over from source to destination.  Any feedback would be much appreciated.  We are running AEM 6.0 SP3.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
MeTooTwoAccepted solution
Adobe Employee
Feb 23, 2016 8:07 PM UTC

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

Purpose

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.

3 replies

MeTooTwoAdobe EmployeeAccepted solution
Adobe Employee
Feb 23, 2016 8:07 PM UTC

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

Purpose

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.

Translate
kautuk_sahni
Level 9
Feb 24, 2016 7:19 AM UTC

Hi 

Please have a look at this community article:-

Link:- http://www.hsufengko.com/home/copy-users-groups-permissions-acls-between-adobe-cq-instances

//copy permissions (ACLs) pertaining to all nodes

Or 

Please have a look at the forum post catering similar problem:-

Link:- https://forums.adobe.com/thread/966911

//How to create a CQ package to export all the users and their permissions.

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

Translate
Kautuk Sahni
jayproulx
Level 2
Dec 22, 2016 6:32 PM UTC

Highly, highly worth mentioning, if you use the ACS ACL packager, be aware that it exports the whole _rep_policy.xml, not just the specific permissions for your authorizables.  This more than likely means that package will not be compatible with any future versions of AEM.  I.e. you're upgrading from 6.1 to 6.2, those _rep_policy.xml's may have entries that conflict with the latest updated policies in 6.2.

If you're exporting, you'll want to hand-filter those policies and exclude anything that's not one of the authorizables that you just exported.

Translate