in src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java [128:136]
public static void setAcl(Session session, List<String> principals, List<String> paths, List<String> privileges, boolean isAllow, List<RestrictionClause> restrictionClauses)
throws RepositoryException {
for (String jcrPath : getJcrPaths(session, paths)) {
if (jcrPath != null && !session.nodeExists(jcrPath)) {
throw new PathNotFoundException("Cannot set ACL on non-existent path " + jcrPath);
}
setAcl(session, principals, jcrPath, privileges, isAllow, restrictionClauses);
}
}