Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Migration User Groups from instance to other

yagyesh11235
Level 2
Level 2

Hi Everyone,

I need to migrate some user groups from instance to other instance.

User group migration can be done using pkg manger/acl tool but the catch is the other instance already has some groups which should not be overided.

What is best way to migrate the user groups from instance to other preserving the existing user groups in the other instance?

 

Thanks

Yagyesh

1 Accepted Solution
kautuk_sahni
Correct answer by
Employee
Employee

Hi 

Please have a look at this KB article:-

Link:- https://helpx.adobe.com/experience-manager/kb/ACLsMigration.html

//   

    Symptoms

    You have setup some ACLs using the CRX Access Control Editor. When you create a package with the ACLs and install the package on another instance, the ACLs do not get installed.

    Resolution

    When creating the package using the CRX package manager, there is an setting called "Access Control Handling" (above the description textarea). In this setting, change the value to override. This will allow the     ACLs to be migrated to another instance. Because, by default, packages will ignore ACLs even if the ACLs get included in the package.

 

And yes, ifyou want to only import ACL across the instances, then try the tool mentiones Kunal  - https://adobe-consulting-services.github.io/acs-aem-commons/features/acl-packager.html

I hope this would help you.

Thanks and Regards

Kautuk Sahni

View solution in original post

4 Replies
Lokesh_Shivalingaiah
Community Advisor
Community Advisor

I think when you install the package in other instance,

you can select 'ignore' for 'Access Control Handling' option which should keep your existing groups untouched. Try that out and see if that works for you.

kunal23
Level 10
Level 10

There is a package installation mode "merge" for these type of use cases. http://www.wemblog.com/2012/04/how-to-change-package-install-behavior.html.

If your requirement is to only import ACL definitions from another instance then try the following tool - https://adobe-consulting-services.github.io/acs-aem-commons/features/acl-packager.html

kautuk_sahni
Correct answer by
Employee
Employee

Hi 

Please have a look at this KB article:-

Link:- https://helpx.adobe.com/experience-manager/kb/ACLsMigration.html

//   

    Symptoms

    You have setup some ACLs using the CRX Access Control Editor. When you create a package with the ACLs and install the package on another instance, the ACLs do not get installed.

    Resolution

    When creating the package using the CRX package manager, there is an setting called "Access Control Handling" (above the description textarea). In this setting, change the value to override. This will allow the     ACLs to be migrated to another instance. Because, by default, packages will ignore ACLs even if the ACLs get included in the package.

 

And yes, ifyou want to only import ACL across the instances, then try the tool mentiones Kunal  - https://adobe-consulting-services.github.io/acs-aem-commons/features/acl-packager.html

I hope this would help you.

Thanks and Regards

Kautuk Sahni

View solution in original post

tc94524330
Level 4
Level 4

Best way to migrate users and groups from one instance to other is by using Netcentric ACL migration tool. It is a very useful tool to use it.