Interface

Symfony\Component\Security\Acl\Model\PermissionGrantingStrategyInterface

interface PermissionGrantingStrategyInterface

Interface used by permission granting implementations.

Methods

Boolean isGranted(AclInterface $acl, array $masks, array $sids, Boolean $administrativeMode = false)

Determines whether access to a domain object is to be granted

Boolean isFieldGranted(AclInterface $acl, string $field, array $masks, array $sids, Boolean $administrativeMode = false)

Determines whether access to a domain object's field is to be granted

Details

at line 30
public Boolean isGranted(AclInterface $acl, array $masks, array $sids, Boolean $administrativeMode = false)

Determines whether access to a domain object is to be granted

Parameters

AclInterface $acl
array $masks
array $sids
Boolean $administrativeMode

Return Value

Boolean

at line 43
public Boolean isFieldGranted(AclInterface $acl, string $field, array $masks, array $sids, Boolean $administrativeMode = false)

Determines whether access to a domain object's field is to be granted

Parameters

AclInterface $acl
string $field
array $masks
array $sids
Boolean $administrativeMode

Return Value

Boolean