Skip to content

Releases: dereuromark/cakephp-tinyauth

4.5.3

Choose a tag to compare

@dereuromark dereuromark released this 01 Aug 10:11
a9c61fb

Fixes

Full Changelog: 4.5.2...4.5.3

4.5.2

Choose a tag to compare

@dereuromark dereuromark released this 16 Jul 13:13
187ed50

Improvements

  • Allow using nested role config in #157

Full Changelog: 4.5.1...4.5.2

4.5.1

Choose a tag to compare

@dereuromark dereuromark released this 08 May 01:38
206e4ae

Fixes

Removed deprecation usage.

4.5.0

Choose a tag to compare

@dereuromark dereuromark released this 30 Apr 12:08
f3716ee

Improvements

  • Added caching capability to PrimaryKeySession authenticator.

When using this caching layer to avoid expensive DB lookups, make sure to manually invalidate that cache every time a user's (session related) data changes using SessionCache wrapper object.

  • Improved ForbiddenCakeRedirectHandler to not redirect for extension routed URLs - those non-HTTP (e.g. JSON/XML/CSV) requests should never redirect and directly respond in the same format.

  • Refactored AuthPanel. It now includes the identity for quick lookup, as well the authenticator responsible for the log in.

4.4.1

Choose a tag to compare

@dereuromark dereuromark released this 21 Apr 17:50
2e19f3d

Fixes

Relaxed return type for identity() to also support non-Entity types, e.g. array Identity content.
ArrayAccess is only supported, though, if together with Traversable or Countable.

4.4.0

Choose a tag to compare

@dereuromark dereuromark released this 21 Apr 16:16
49c87cf

Improvements

  • Added PrimaryKeySessionAuthenticator until a native adaption becomes available.
  • Added ForbiddenCakeRedirect with an unauthorizedMessage to be set as error flash message.
  • Provide AuthUser::identity() convenience method to access the entity directly, as AuthUser::user() returns array for BC reasons

4.3.1

Choose a tag to compare

@dereuromark dereuromark released this 25 Feb 02:26
beefe4b

Improvements

  • More improvements for Authorization plugin support.
  • ForbiddenRedirect handler for more convenient redirect incl flash message

4.3.0

Choose a tag to compare

@dereuromark dereuromark released this 23 Feb 16:41
7a43d21

Improvements

Better Auth plugins support:
If you are using Authentication plugin, this now seamlessly works together with it.
You can use the central INI files to control allowed controller actions.
The Auth panel works just as well, also the AuthUser component and helper.

4.2.1

Choose a tag to compare

@dereuromark dereuromark released this 24 Sep 09:28

Fixes

  • Removed more deprecations

4.2.0

Choose a tag to compare

@dereuromark dereuromark released this 16 Sep 20:39

Improvements

  • Compatibility with CakePHP 5.1+
    Make sure to check your _cake_model_ cache as this one is supposed to be used moving forward.

Fixes

  • Fixed up deprecation notices
  • Don't reload component for DebugKit panel, if already loaded