Skip to content

Releases: cakephp/authorization

Authorization 1.2.0

26 Apr 10:49
Compare
Choose a tag to compare

New features

  • Convenience methods for actionMap and authorizeModel configuration keys added (#73)

Additionally, the docs have been moved to the Cookbook.

Authorization 1.1.0

02 Feb 19:18
1.1.0
Compare
Choose a tag to compare

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

17 Nov 06:47
1.0.0
bad690c
Compare
Choose a tag to compare
  • Authorization 1.0.0

1.0.0-beta8

17 Nov 06:34
1.0.0-beta8
c1084a1
Compare
Choose a tag to compare
1.0.0-beta8 Pre-release
Pre-release
  • Application classes must now implement the Authorization\AuthorizationProviderInterface

Authorization 1.0.0-beta6

05 Jun 02:10
1.0.0-beta6
Compare
Choose a tag to compare
Pre-release

New Features

  • Improved documentation.

Authorization 1.0.0-beta7

05 Jun 14:48
6a67086
Compare
Choose a tag to compare
Pre-release

New Features

  • Authorization\Middleware\RequestAuthorizationMiddleware has been added. This middleware allows you to check authorization from a RequestPolicy that can check authorization based on the current request URL and identity.
  • Improved documentation and guides.

1.0.0-beta2

02 Feb 07:15
ce5ad65
Compare
Choose a tag to compare
1.0.0-beta2 Pre-release
Pre-release

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.