Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Automate ACL replication from author to publish

Avatar

Level 2

Hi,

I wanted to automate the replication of users/groups & acls from author to publisher. I have explored the (https://adobe-consulting-services.github.io/acs-aem-commons/features/acl-packager.html) but its useful for one time activity. I wanted to automate this process. Any pointer ?

 

Regards

Guru

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi

I have found a good reference to your problem. Please have a look at the same.

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

// It covers copy users, groups, permissions (ACL) between Adobe CQ instances

More References (less important, but good read)

Link:- http://stackoverflow.com/questions/24919675/cq5-aem-change-permissions-on-groups-with-curl

Link:- http://www.wemblog.com/2012/03/how-to-do-user-management-using-post.html

Your can also automate things as mentioned by Bsloki or can do things using Curl (Link:- http://www.wemblog.com/2012/03/how-to-do-user-management-using-post.html)

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

5 Replies

Avatar

Level 10

See this KB:

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

I am going to make sure this has not changed in later versions of AEM. 

Avatar

Level 10

Users and Groups, you can publish. But what type of ACLs are you looking to publish ??

There is nothing OOB, you may have to write a script to package the ACLs and put it on publish instance.

Avatar

Level 2

When u publish users & groups, it will not publish the ACL under the group node. We will have to export & manually import them. I was looking if we can automate the process so it will be easy.

Avatar

Correct answer by
Administrator

Hi

I have found a good reference to your problem. Please have a look at the same.

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

// It covers copy users, groups, permissions (ACL) between Adobe CQ instances

More References (less important, but good read)

Link:- http://stackoverflow.com/questions/24919675/cq5-aem-change-permissions-on-groups-with-curl

Link:- http://www.wemblog.com/2012/03/how-to-do-user-management-using-post.html

Your can also automate things as mentioned by Bsloki or can do things using Curl (Link:- http://www.wemblog.com/2012/03/how-to-do-user-management-using-post.html)

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Employee

Hi Guru,

what is the use case for having the same users, groups and ACL's on the author and the publish instance? Typically, they would be different across author and publish.

Regards,

Opkar