testNode.addNode("node2");
session.save();
assertFalse(repository.repositoryCache().isAccessControlEnabled());
SimplePrincipal principalA = SimplePrincipal.newInstance("a");
SimplePrincipal principalB = SimplePrincipal.newInstance("b");
SimplePrincipal everyone = SimplePrincipal.newInstance("everyone");
AccessControlManager acm = session.getAccessControlManager();
Privilege[] allPriviledges = { acm.privilegeFromName(Privilege.JCR_ALL) };
AccessControlList aclNode1 = getACL(acm, "/testNode/node1");