AclInterface::isFieldGranted()

bool isFieldGranted(string $field, array $masks, array $securityIdentities, bool $administrativeMode = false) Determines whether field access is granted Parameters string $field array $masks array $securityIdentities bool $administrativeMode Return Value bool

AclInterface::isEntriesInheriting()

bool isEntriesInheriting() Whether this ACL is inheriting ACEs from a parent ACL. Return Value bool

AclInterface::getClassFieldAces()

array getClassFieldAces(string $field) Returns all class-field-based ACEs associated with this ACL Parameters string $field Return Value array

AclInterface::getClassAces()

array getClassAces() Returns all class-based ACEs associated with this ACL Return Value array

AclInterface::getObjectAces()

array getObjectAces() Returns all object-based ACEs associated with this ACL Return Value array

AclInterface

interface AclInterface implements Serializable This interface represents an access control list (ACL) for a domain object. Each domain object can have exactly one associated ACL. An ACL contains all access control entries (ACE) for a given domain object. In order to avoid needing references to the domain object itself, implementations use ObjectIdentity implementations as an additional level of indirection. Methods array getClassAces() Returns all class-based ACEs associated with this AC

AclInterface::getObjectFieldAces()

array getObjectFieldAces(string $field) Returns all object-field-based ACEs associated with this ACL Parameters string $field Return Value array

AclInterface::getObjectIdentity()

ObjectIdentityInterface getObjectIdentity() Returns the object identity associated with this ACL Return Value ObjectIdentityInterface

AclCollectionCache

class AclCollectionCache This service caches ACLs for an entire collection of objects. Methods __construct(AclProviderInterface $aclProvider, ObjectIdentityRetrievalStrategyInterface $oidRetrievalStrategy, SecurityIdentityRetrievalStrategyInterface $sidRetrievalStrategy) Constructor. cache(mixed $collection, array $tokens = array()) Batch loads ACLs for an entire collection; thus, it reduces the number of required queries considerably. Details __cons

AclCacheInterface::getFromCacheByIdentity()

AclInterface getFromCacheByIdentity(ObjectIdentityInterface $oid) Retrieves an ACL for the given object identity from the cache Parameters ObjectIdentityInterface $oid Return Value AclInterface