PermissionGrantingStrategyInterface

interface PermissionGrantingStrategyInterface

Interface used by permission granting implementations.

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

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

Determines whether access to a domain object is to be granted

Parameters

AclInterface $acl
array $masks
array $sids
bool $administrativeMode

Return Value

bool

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

Parameters

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

Return Value

bool
doc_Symfony
2016-10-28 06:26:09
Comments
Leave a Comment

Please login to continue.