This interface should be implemented if a policy class needs to perform a pre-authorization check before the action access check takes place.
This interface should be implemented if a policy class needs to perform a pre-authorization check before the scope is applied to the resource.
This interface should be implemented by your request policy class.
Policy resolver interface.
Policy check result interface
Policy resolver that allows to map policy classes, objects or factories to individual resource classes.
Policy resolver that applies conventions based policy classes for CakePHP ORM Tables, Entities and Queries.
ResolverCollection
is used for aggregating multiple resolvers when more than
one resolver is necessary. The collection will iterate over configured resolvers
and try to resolve a policy on each one. The first successfully resolved policy
will be returned.
Policy check result