Skip to content

Commit 5c5aa10

Browse files
pgornykwin
authored andcommitted
Fix REPLICATE_PRIVILEGE constant.
Fixes Netcentric/accesscontrol#811. The removal of the uber-jar dependency in Netcentric/accesscontrol#802 has introduced an incorrect name for the privilege that is not understood by AEM.
1 parent 21da906 commit 5c5aa10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accesscontroltool-bundle/src/main/java/biz/netcentric/cq/tools/actool/aem/AcToolCqActions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public enum CqActions {
6161
}
6262

6363
private static final String CONTENT_RESTRICTION = "*/jcr:content*";
64-
private static final String REPLICATE_PRIVILEGE = "rep:replicate";
64+
private static final String REPLICATE_PRIVILEGE = "{http://www.day.com/crx/1.0}replicate";
6565

6666
private final Session session;
6767
private final Map<String, Set<Privilege>> map = new HashMap<>();

0 commit comments

Comments
 (0)