PermissionGrantingStrategy
class PermissionGrantingStrategy implements PermissionGrantingStrategyInterface
The permission granting strategy to apply to the access control list.
Constants
EQUAL |
|
ALL |
|
ANY |
|
Methods
bool
isGranted(AclInterface $acl, array $masks, array $sids, bool $administrativeMode = false)
Determines whether access to a domain object is to be granted
bool
isFieldGranted(AclInterface $acl, string $field, array $masks, array $sids, bool $administrativeMode = false)
Determines whether access to a domain object's field is to be granted
Details
at line line 39
setAuditLogger(AuditLoggerInterface $auditLogger)
Sets the audit logger
at line line 47
bool
isGranted(AclInterface $acl, array $masks, array $sids, bool $administrativeMode = false)
Determines whether access to a domain object is to be granted
at line line 79
bool
isFieldGranted(AclInterface $acl, string $field, array $masks, array $sids, bool $administrativeMode = false)
Determines whether access to a domain object's field is to be granted