Releases: cakephp/authorization
Releases · cakephp/authorization
CakePHP Authorization 2.0.2
Fixes
- Console command building no longer fails when bake is not installed.
CakePHP Authorization 2.0.1
Fixes
- Use stable versions of all dependencies.
- Redirect URLs no longer contain the host or protocol. When doing redirects you should validate URLs again.
- Redirect URLs now include the base path.
CakePHP Authorization 1.3.1
Fixes
- Generated redirect URLs no longer contain the host or protocol. You should validate URLs before redirecting or use the method in authentication plugin.
- Base paths are included in URLs generated by RedirectHandler.
CakePHP Authorization 2.0.0
- Compatible with CakePHP 4.0
1.3.0
Improvements
Removed deprecations.
This plugin is now CakePHP 3.6+.
Authorization 1.2.0
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\Result
instead 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\RequestPolicyInterface
was 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.