AclNotFoundException

class AclNotFoundException extends Exception This exception is thrown when we cannot locate an ACL for a passed ObjectIdentity implementation.

AclInterface::isEntriesInheriting()

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

AclInterface::getClassAces()

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

AclInterface::getClassFieldAces()

array getClassFieldAces(string $field) Returns all class-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

AclInterface::getObjectFieldAces()

array getObjectFieldAces(string $field) Returns all object-field-based ACEs associated with this ACL Parameters string $field 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

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