Can we transport rep:policy node from a environment to other via packageManager? | Community
Skip to main content
RashidJorvee
Level 4
Nov 26, 2018 5:38 AM UTC
Solved

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

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!  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Nov 26, 2018 8:05 AM UTC

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

ACL Packager

Jörg

2 replies

RashidJorvee
Level 4
Nov 26, 2018 11:24 AM UTC

Thank you, it works!!!

Translate
joerghoh
joerghohAccepted solution
Employee
Nov 26, 2018 8:05 AM UTC

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

ACL Packager

Jörg

Translate