Can we transport rep:policy node from a environment to other via packageManager?

Avatar

Avatar

Rashid_Jorvee

Avatar

Rashid_Jorvee

Rashid_Jorvee

25-11-2018

How can I transport restriction policy given on /content from one environment to other environments? I have created a package of the rep:policy and try installing the same in other AEM instance but it didn't work and not even rep:policy node get updated with that installed package. Package installation gives the message:

Install Package: /etc/packages/my_packages/rep:policy.zip

Mon Nov 26 2018 10:53:56 GMT+0530 (India Standard Time)

Installing content

Collecting import information...

Installing node types...
- rep -> internal
- nt -> http://www.jcp.org/jcr/nt/1.0
- sling -> http://sling.apache.org/jcr/sling/1.0
- sling:Folder
- sling:OrderedFolder
- rep:RepoAccessControllable
Installing privileges...
Importing content...
- /
- /content
saving approx 0 nodes...
Package imported.

Package installed in 47ms.

So, do I need to add every permission one by one again on the other AEM instance, or do we have any other way to move the restrictions from one AME instance to other? Please help!  

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K
Jörg_Hoh
Employee

26-11-2018

Have you already tried the ACL Packager of ACS AEM Commons?

ACL Packager

Jörg

Answers (1)

Answers (1)

Avatar

Avatar

Rashid_Jorvee

Avatar

Rashid_Jorvee

Rashid_Jorvee

26-11-2018

Thank you, it works!!!