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 |
bool | isEntriesInheriting() Whether this ACL is inheriting ACEs from a parent ACL. | from AclInterface |
bool | isFieldGranted(string $field, array $masks, array $securityIdentities, bool $administrativeMode = false) Determines whether field access is granted | from AclInterface |
bool | isGranted(array $masks, array $securityIdentities, bool $administrativeMode = false) Determines whether access is granted | from AclInterface |
bool | isSidLoaded(mixed $securityIdentities) Whether the ACL has loaded ACEs for all of the passed security identities | from AclInterface |
deleteClassAce(int $index) Deletes a class-based ACE | ||
deleteClassFieldAce(int $index, string $field) Deletes a class-field-based ACE | ||
deleteObjectAce(int $index) Deletes an object-based ACE | ||
deleteObjectFieldAce(int $index, string $field) Deletes an object-field-based ACE | ||
int | getId() Returns the primary key of this ACL | |
insertClassAce(SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts a class-based ACE | ||
insertClassFieldAce(string $field, SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts a class-field-based ACE | ||
insertObjectAce(SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts an object-based ACE | ||
insertObjectFieldAce(string $field, SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts an object-field-based ACE | ||
setEntriesInheriting(bool $boolean) Sets whether entries are inherited | ||
setParentAcl(AclInterface $acl = null) Sets the parent ACL | ||
updateClassAce(int $index, int $mask, string $strategy = null) Updates a class-based ACE | ||
updateClassFieldAce(int $index, string $field, int $mask, string $strategy = null) Updates a class-field-based ACE | ||
updateObjectAce(int $index, int $mask, string $strategy = null) Updates an object-based ACE | ||
updateObjectFieldAce(int $index, string $field, int $mask, string $strategy = null) Updates an object-field-based ACE |
Details
array getClassAces()
Returns all class-based ACEs associated with this ACL
array getClassFieldAces(string $field)
Returns all class-field-based ACEs associated with this ACL
array getObjectAces()
Returns all object-based ACEs associated with this ACL
array getObjectFieldAces(string $field)
Returns all object-field-based ACEs associated with this ACL
ObjectIdentityInterface getObjectIdentity()
Returns the object identity associated with this ACL
AclInterface|null getParentAcl()
Returns the parent ACL, or null if there is none.
bool isEntriesInheriting()
Whether this ACL is inheriting ACEs from a parent ACL.
bool isFieldGranted(string $field, array $masks, array $securityIdentities, bool $administrativeMode = false)
Determines whether field access is granted
bool isGranted(array $masks, array $securityIdentities, bool $administrativeMode = false)
Determines whether access is granted
bool isSidLoaded(mixed $securityIdentities)
Whether the ACL has loaded ACEs for all of the passed security identities
deleteClassAce(int $index)
Deletes a class-based ACE
deleteClassFieldAce(int $index, string $field)
Deletes a class-field-based ACE
deleteObjectAce(int $index)
Deletes an object-based ACE
deleteObjectFieldAce(int $index, string $field)
Deletes an object-field-based ACE
int getId()
Returns the primary key of this ACL
insertClassAce(SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null)
Inserts a class-based ACE
insertClassFieldAce(string $field, SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null)
Inserts a class-field-based ACE
insertObjectAce(SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null)
Inserts an object-based ACE
insertObjectFieldAce(string $field, SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null)
Inserts an object-field-based ACE
setEntriesInheriting(bool $boolean)
Sets whether entries are inherited
setParentAcl(AclInterface $acl = null)
Sets the parent ACL
updateClassAce(int $index, int $mask, string $strategy = null)
Updates a class-based ACE
updateClassFieldAce(int $index, string $field, int $mask, string $strategy = null)
Updates a class-field-based ACE
updateObjectAce(int $index, int $mask, string $strategy = null)
Updates an object-based ACE
updateObjectFieldAce(int $index, string $field, int $mask, string $strategy = null)
Updates an object-field-based ACE
Please login to continue.