Releases: dereuromark/cakephp-tinyauth
Releases · dereuromark/cakephp-tinyauth
4.3.1
4.3.0
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
Fixes
- Removed more deprecations
4.2.0
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
4.1.0
Improvements
Add any role to any command and action:
bin/cake tiny_auth_add {Controller} {Action} {roles, comma separated}
It will skip if the roles are already present for this controller and action.
Use with -d -v
to just output the changes it would do to your ACL INI file.
4.0.1
Fixed
Fixed role reading/detection for role as backed enum.
The following would now work for a string field:
namespace App\Model\Enum;
use Cake\Database\Type\EnumLabelInterface;
use Cake\Utility\Inflector;
enum UserRole: string implements EnumLabelInterface {
case MAINTAINER = 'maintainer';
case ADMIN = 'admin';
/**
* @return string
*/
public function label(): string {
return Inflector::humanize(mb_strtolower($this->name));
}
}
4.0.0
CakePHP 5 compatible release
Enjoy!
4.0.0-RC
CakePHP 5 compatible pre-release
Please test, once confirmed we can release stable.
3.2.0
Improvements
- Removed deprecations
- PHP 7.4+
3.1.0
Improvements
- CakePHP 4.2+ and PHP 7.3+
- Remove deprecations
- Fix up edge cases around plugin config