AccessControlList acl = getList(acMgr, path);
acl.addAccessControlEntry(testPrincipal, new Privilege[] {aggregate});
Privilege[] privs = aggregate.getAggregatePrivileges();
for (int i = 0; i < privs.length; i++) {
boolean modified = acl.addAccessControlEntry(testPrincipal, new Privilege[] {privs[i]});
assertFalse("Adding the aggregated privs individually later on must not modify the policy", modified);
}
}
public void testAddAbstractPrivilege() throws NotExecutableException, RepositoryException {