Migration User Groups from instance to other | Community
Skip to main content
yagyesh11235
Level 2
July 19, 2016
Solved

Migration User Groups from instance to other

  • July 19, 2016
  • 4 replies
  • 2149 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

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

4 replies

Lokesh_Shivalingaiah
Level 10
July 19, 2016

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.

Kunal_Gaba_
July 20, 2016

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
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
July 20, 2016

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
tc94524330
Level 3
July 21, 2016

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.