interface MutableAclInterface implements AclInterface
This interface adds mutators for the AclInterface.
All changes to Access Control Entries must go through this interface. Access
Control Entries must never be modified directly.
Methods
| array |
getClassAces()
Returns all class-based ACEs associated with this ACL |
from AclInterface |
| array |
getClassFieldAces(string $field)
Returns all class-field-based ACEs associated with this ACL |
from AclInterface |
| array |
getObjectAces()
Returns all object-based ACEs associated with this ACL |
from AclInterface |
| array |
getObjectFieldAces(string $field)
Returns all object-field-based ACEs associated with this ACL |
from AclInterface |
| ObjectIdentityInterface |
getObjectIdentity()
Returns the object identity associated with this ACL |
from AclInterface |
| AclInterface|null |
getParentAcl()
Returns the parent ACL, or null if there is none. |
from AclInterface |
| Boolean |
isEntriesInheriting()
Whether this ACL is inheriting ACEs from a parent ACL. |
from AclInterface |
| Boolean |
isFieldGranted(string $field, array $masks, array $securityIdentities, Boolean $administrativeMode = false)
Determines whether field access is granted |
from AclInterface |
| Boolean |
isGranted(array $masks, array $securityIdentities, Boolean $administrativeMode = false)
Determines whether access is granted |
from AclInterface |
| Boolean |
isSidLoaded(mixed $securityIdentities)
Whether the ACL has loaded ACEs for all of the passed security identities |
from AclInterface |
|
deleteClassAce(integer $index)
Deletes a class-based ACE |
||
|
deleteClassFieldAce(integer $index, string $field)
Deletes a class-field-based ACE |
||
|
deleteObjectAce(integer $index)
Deletes an object-based ACE |
||
|
deleteObjectFieldAce(integer $index, string $field)
Deletes an object-field-based ACE |
||
| integer |
getId()
Returns the primary key of this ACL |
|
|
insertClassAce(SecurityIdentityInterface $sid, integer $mask, integer $index, Boolean $granting = true, string $strategy = null)
Inserts a class-based ACE |
||
|
insertClassFieldAce(string $field, SecurityIdentityInterface $sid, integer $mask, integer $index, Boolean $granting = true, string $strategy = null)
Inserts a class-field-based ACE |
||
|
insertObjectAce(SecurityIdentityInterface $sid, integer $mask, integer $index, Boolean $granting = true, string $strategy = null)
Inserts an object-based ACE |
||
|
insertObjectFieldAce(string $field, SecurityIdentityInterface $sid, integer $mask, integer $index, Boolean $granting = true, string $strategy = null)
Inserts an object-field-based ACE |
||
|
setEntriesInheriting(Boolean $boolean)
Sets whether entries are inherited |
||
|
setParentAcl(AclInterface $acl = null)
Sets the parent ACL |
||
|
updateClassAce(integer $index, integer $mask, string $strategy = null)
Updates a class-based ACE |
||
|
updateClassFieldAce(integer $index, string $field, integer $mask, string $strategy = null)
Updates a class-field-based ACE |
||
|
updateObjectAce(integer $index, integer $mask, string $strategy = null)
Updates an object-based ACE |
||
|
updateObjectFieldAce(integer $index, string $field, integer $mask, string $strategy = null)
Updates an object-field-based ACE |
Details
in AclInterface at line 31
public array
getClassAces()
Returns all class-based ACEs associated with this ACL
in AclInterface at line 39
public array
getClassFieldAces(string $field)
Returns all class-field-based ACEs associated with this ACL
in AclInterface at line 46
public array
getObjectAces()
Returns all object-based ACEs associated with this ACL
in AclInterface at line 54
public array
getObjectFieldAces(string $field)
Returns all object-field-based ACEs associated with this ACL
in AclInterface at line 61
public ObjectIdentityInterface
getObjectIdentity()
Returns the object identity associated with this ACL
in AclInterface at line 68
public AclInterface|null
getParentAcl()
Returns the parent ACL, or null if there is none.
in AclInterface at line 75
public Boolean
isEntriesInheriting()
Whether this ACL is inheriting ACEs from a parent ACL.
in AclInterface at line 86
public Boolean
isFieldGranted(string $field, array $masks, array $securityIdentities, Boolean $administrativeMode = false)
Determines whether field access is granted
in AclInterface at line 97
public Boolean
isGranted(array $masks, array $securityIdentities, Boolean $administrativeMode = false)
Determines whether access is granted
in AclInterface at line 105
public Boolean
isSidLoaded(mixed $securityIdentities)
Whether the ACL has loaded ACEs for all of the passed security identities
at line 29
public
deleteClassAce(integer $index)
Deletes a class-based ACE
at line 37
public
deleteClassFieldAce(integer $index, string $field)
Deletes a class-field-based ACE
at line 44
public
deleteObjectAce(integer $index)
Deletes an object-based ACE
at line 52
public
deleteObjectFieldAce(integer $index, string $field)
Deletes an object-field-based ACE
at line 59
public integer
getId()
Returns the primary key of this ACL
at line 70
public
insertClassAce(SecurityIdentityInterface $sid, integer $mask, integer $index, Boolean $granting = true, string $strategy = null)
Inserts a class-based ACE
at line 82
public
insertClassFieldAce(string $field, SecurityIdentityInterface $sid, integer $mask, integer $index, Boolean $granting = true, string $strategy = null)
Inserts a class-field-based ACE
at line 93
public
insertObjectAce(SecurityIdentityInterface $sid, integer $mask, integer $index, Boolean $granting = true, string $strategy = null)
Inserts an object-based ACE
at line 105
public
insertObjectFieldAce(string $field, SecurityIdentityInterface $sid, integer $mask, integer $index, Boolean $granting = true, string $strategy = null)
Inserts an object-field-based ACE
at line 112
public
setEntriesInheriting(Boolean $boolean)
Sets whether entries are inherited
at line 119
public
setParentAcl(AclInterface $acl = null)
Sets the parent ACL
at line 128
public
updateClassAce(integer $index, integer $mask, string $strategy = null)
Updates a class-based ACE
at line 138
public
updateClassFieldAce(integer $index, string $field, integer $mask, string $strategy = null)
Updates a class-field-based ACE
at line 147
public
updateObjectAce(integer $index, integer $mask, string $strategy = null)
Updates an object-based ACE
at line 157
public
updateObjectFieldAce(integer $index, string $field, integer $mask, string $strategy = null)
Updates an object-field-based ACE