Releases: cakephp/authorization
Releases · cakephp/authorization
Authorization 1.1.0
New Features
- The argument to
authorize()can now be a scalar value. This enables
the creation of resolvers that don't require an object. - Policies can now return
Authorization\Policy\Resultinstead of just
a boolean. This new object allows an additional reason code to be
supplied for when authorization is denied. Authorization\Exception\ForbiddenException::getResult()was added.Authorization\Policy\RequestPolicyInterfacewas added. It defines
an interface for doing access checks based on the request object.
1.0.0
1.0.0-beta8
- Application classes must now implement the
Authorization\AuthorizationProviderInterface
Authorization 1.0.0-beta6
New Features
- Improved documentation.
Authorization 1.0.0-beta7
New Features
Authorization\Middleware\RequestAuthorizationMiddlewarehas been added. This middleware allows you to check authorization from aRequestPolicythat can check authorization based on the current request URL and identity.- Improved documentation and guides.
1.0.0-beta2
This is another beta release.
Since the first beta:
- support for skipping authorization has been added,
- support for handling unauthorized requests has been added,
- docs have been improved.