FieldEntry
class FieldEntry extends Entry implements FieldEntryInterface
Field-aware ACE implementation which is auditable
Methods
Constructor
The security identity associated with this ACE
Implementation of \Serializable
Implementation of \Serializable
Returns the field used for this entry.
Details
at line line 40
__construct(int $id, AclInterface $acl, string $field, SecurityIdentityInterface $sid, string $strategy, int $mask, bool $granting, bool $auditFailure, bool $auditSuccess)
Constructor
in Entry at line line 61
AclInterface
getAcl()
The ACL this ACE is associated with.
in Entry at line line 69
int
getMask()
The permission mask of this ACE
in Entry at line line 77
int
getId()
The primary key of this ACE
in Entry at line line 85
SecurityIdentityInterface
getSecurityIdentity()
The security identity associated with this ACE
in Entry at line line 93
string
getStrategy()
The strategy for comparing masks
in Entry at line line 101
bool
isAuditFailure()
Whether auditing for successful grants is turned on
in Entry at line line 109
bool
isAuditSuccess()
Whether auditing for successful denies is turned on
in Entry at line line 117
bool
isGranting()
Returns whether this ACE is granting, or denying
in Entry at line line 130
setAuditFailure(bool $boolean)
Turns on/off auditing on permissions denials.
Do never call this method directly. Use the respective methods on the AclInterface instead.
in Entry at line line 143
setAuditSuccess(bool $boolean)
Turns on/off auditing on permission grants.
Do never call this method directly. Use the respective methods on the AclInterface instead.
in Entry at line line 156
setMask(int $mask)
Sets the permission mask
Do never call this method directly. Use the respective methods on the AclInterface instead.
in Entry at line line 169
setStrategy(string $strategy)
Sets the mask comparison strategy
Do never call this method directly. Use the respective methods on the AclInterface instead.
at line line 58
string
serialize()
Implementation of \Serializable
at line line 69
unserialize(string $serialized)
Implementation of \Serializable
at line line 50
string
getField()
Returns the field used for this entry.