Symfony\Component\Security\Acl\Domain\PermissionGrantingStrategy
The permission granting strategy to apply to the access control list.
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
class PermissionGrantingStrategy
implements
PermissionGrantingStrategyInterface
{
- // constants
- const EQUAL = 'equal';
- const ALL = 'all';
- const ANY = 'any';
- // members
- private $auditLogger;
- // methods
- public void setAuditLogger()
- public void isGranted()
- public void isFieldGranted()
- private Boolean hasSufficientPermissions()
- private Boolean isAceApplicable()
Hierarchy
Constants
Name | Value |
---|---|
EQUAL | 'equal' |
ALL | 'all' |
ANY | 'any' |
Members
private
- $auditLogger
Methods
private
- hasSufficientPermissions() — Makes an authorization decision.
- isAceApplicable() — Determines whether the ACE is applicable to the given permission/security identity combination.
public
- isFieldGranted() — {@inheritDoc}
- isGranted() — {@inheritDoc}
- setAuditLogger() — Sets the audit logger