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

How to transfer users with assgined group between AEM6 author node?

Avatar

Level 2

Hi guys,

I'd like to transfer users with assgined groups to another AEM author node(AEM6 with SP2).

My steps list below
1. Create path "myusers" under /home/users/ in CRX via crxde lite
2. Go to  useradmin create new user named "test-user", choose path "/home/users/myusers/", and set "Administrators" grouop to it.
3. Build a package from package manager with settings:

  •     Filter Root Path: /home/users/myusers
  •     Rules exclude: /home/users/myusers/.*/.tokens
  •     AC Handling: Ignore/Overwrite/Merge

4. Upload/Install this built package to another AEM author node.

Here is the problem: the user "test-user" is imported , however the group "Administrators" is not set with it.

In Step 3 I have tried these 3 AC Handling options ,none of them works.

Any idea?  And where are the group and user relationships stored?


Thanks a lot,

Dale

1 Accepted Solution

Avatar

Correct answer by
Employee
0 Replies

Avatar

Correct answer by
Employee

Hi Dale,

have you reviewed this article[1]

Regards,

Opkar

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

Avatar

Level 2

Thanks Opkar,

 

I just read this article. So it seems that I have to  package the whole /home rather than specify path like "home/users/myusers".

I don't have an AEM environment at the moment. I'll give it a try tomorrow.

And do you think set AC handling with "Merge" will work as well?

I read article https://docs.adobe.com/docs/en/crx/2-3/how_to/package_manager.html which mentioned:

"Merge: Tries to merge access control provided with the package with the one on the target. This is currently not fully supported and behaves like Overwrite for existing ACLs. ACLs not in the package are retained."

Thanks,

Dale

Avatar

Level 2

Good morning Opkar,

Your solution does the job and setting AC handling with "Merge" does it as well.

Thanks a lot ,

Dale