Expand my Community achievements bar.

SOLVED

Migration User Groups from instance to other

Avatar

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

Avatar

Correct answer by
Administrator

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



Kautuk Sahni

View solution in original post

4 Replies

Avatar

Level 10

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.

Avatar

Employee Advisor

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

Avatar

Correct answer by
Administrator

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



Kautuk Sahni

Avatar

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.