Skip to content

Releases: dereuromark/cakephp-tinyauth

4.3.1

25 Feb 02:26
beefe4b
Compare
Choose a tag to compare

Improvements

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

4.3.0

23 Feb 16:41
7a43d21
Compare
Choose a tag to compare

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

24 Sep 09:28
Compare
Choose a tag to compare

Fixes

  • Removed more deprecations

4.2.0

16 Sep 20:39
Compare
Choose a tag to compare

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

23 Jan 06:31
Compare
Choose a tag to compare

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

24 Dec 15:39
Compare
Choose a tag to compare

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

27 Nov 22:07
Compare
Choose a tag to compare

CakePHP 5 compatible release

Enjoy!

4.0.0-RC

03 Oct 15:05
Compare
Choose a tag to compare

CakePHP 5 compatible pre-release

Please test, once confirmed we can release stable.

3.2.0

03 Oct 15:04
Compare
Choose a tag to compare

Improvements

  • Removed deprecations
  • PHP 7.4+

3.1.0

20 Jul 13:02
b096ffe
Compare
Choose a tag to compare

Improvements

  • CakePHP 4.2+ and PHP 7.3+
  • Remove deprecations
  • Fix up edge cases around plugin config