Changeset 29106
- Timestamp:
- 01/17/08 15:59:12 (11 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
org.nuxeo.ecm.core/branches/1.4/nuxeo-core-api/src/main/java/org/nuxeo/ecm/core/api/security/impl/ACPImpl.java
r29101 r29106 146 146 147 147 public ACL getMergedACLs(String name) { 148 if (acls.isEmpty()) {149 return null;150 }151 148 ACL mergedAcl = new ACLImpl(name, true); 152 149 for (ACL acl : acls) { org.nuxeo.ecm.core/branches/1.4/nuxeo-core-jcr-connector/src/main/java/org/nuxeo/ecm/core/repository/jcr/JCRSecurityManager.java
r28105 r29106 425 425 if (acp != null) { 426 426 ACL acl = acp.getMergedACLs(ACL.INHERITED_ACL); 427 if (acl != null) { 428 if (inheritedAcls == null) { 429 inheritedAcls = acl; 430 } else { 431 inheritedAcls.addAll(acl); 432 } 427 if (inheritedAcls == null) { 428 inheritedAcls = acl; 429 } else { 430 inheritedAcls.addAll(acl); 433 431 } 434 432 if (acp.getAccess(SecurityConstants.EVERYONE,
