Releases: CakeDC/users
Releases · CakeDC/users
9.2.1
- Fixed the Entity is new on Change Password
9.2.0
9.0.4
9.0.3
9.0.2
This release provides improvements for authorization behavior:
- Added a custom Unauthorized Handler
- If logged user access unauthorized url he is redirected to referer url or '/' if no referer url
- If not logged user access unauthorized url he is redirected to configured url (default to login)
- on login we only use the redirect url from querystring 'redirect' if user can access the target url
- App can configure a callable for 'url' option to define a custom logic to retrieve the url for unauthorized redirect
- Added postLink method to AuthLinkHelper
- UserHelper::welcome now works with request's attribute 'identity'
9.0.1
The 9.0 version uses the new plugins cakephp/authentication(read more) and cakephp/authorization(read more) instead of CakePHP
Authentication component. This version is compatible with CakePHP 4.x and the plugin
code was updated to remove all deprecations.
Improvements and Changes
- Migration to CakePHP 4
- Improved routes
- Improved integration tests
- Compatible with cakephp/authentication
- Compatible with cakephp/authorization
- Added/removed/changed some configurations to work with new authentication/authorization plugins, please check Migration guide for more info.
- Events constants were moved/removed from AuthComponent to Plugin class and their values was also updated, please check Migration guide for more info.
- Migrated usage of AuthComponent to Authorization/Authentication plugins.