Automate ACL replication from author to publish | Community
Skip to main content
guruprasadg2455
Level 2
October 23, 2015
Solved

Automate ACL replication from author to publish

  • October 23, 2015
  • 5 replies
  • 1800 views

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

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

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

5 replies

smacdonald2008
Level 10
October 23, 2015

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. 

Lokesh_Shivalingaiah
Level 10
October 23, 2015

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.

guruprasadg2455
Level 2
October 23, 2015

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.

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
October 23, 2015

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
Adobe Employee
October 23, 2015

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