Support just creating the acl_object_identity, without necessarily an acl_permission as well.

This commit is contained in:
Ben Alex 2004-11-16 12:22:43 +00:00
parent 5ec81e239a
commit 177c00556d
1 changed files with 6 additions and 0 deletions

View File

@ -232,6 +232,12 @@ public class JdbcExtendedDaoImpl extends JdbcDaoImpl
// Create acl_object_identity record if required
createAclObjectIdentityIfRequired(basicAclEntry);
// Only continue if a recipient is specifed (null recipient indicates
// just wanted to ensure the acl_object_identity was created)
if (basicAclEntry.getRecipient() == null) {
return;
}
// Retrieve acl_object_identity record details
AclDetailsHolder aclDetailsHolder = lookupAclDetailsHolder(basicAclEntry
.getAclObjectIdentity());