mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-24 21:12:18 +00:00
Support just creating the acl_object_identity, without necessarily an acl_permission as well.
This commit is contained in:
parent
5ec81e239a
commit
177c00556d
@ -232,6 +232,12 @@ public class JdbcExtendedDaoImpl extends JdbcDaoImpl
|
|||||||
// Create acl_object_identity record if required
|
// Create acl_object_identity record if required
|
||||||
createAclObjectIdentityIfRequired(basicAclEntry);
|
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
|
// Retrieve acl_object_identity record details
|
||||||
AclDetailsHolder aclDetailsHolder = lookupAclDetailsHolder(basicAclEntry
|
AclDetailsHolder aclDetailsHolder = lookupAclDetailsHolder(basicAclEntry
|
||||||
.getAclObjectIdentity());
|
.getAclObjectIdentity());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user