Skip to content

Releases: dereuromark/cakephp-tinyauth

4.1.0

23 Jan 06:31

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

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

Choose a tag to compare

CakePHP 5 compatible release

Enjoy!

4.0.0-RC

03 Oct 15:05

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

Choose a tag to compare

Improvements

  • Removed deprecations
  • PHP 7.4+

3.1.0

20 Jul 13:02
b096ffe

Choose a tag to compare

Improvements

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

3.0.4

07 Oct 13:07
84ed456

Choose a tag to compare

Improvements

Prepared for PHP 8 testing.

3.0.3

31 Oct 15:03
8ee90f4

Choose a tag to compare

Fixes

  • Fixed identity to array conversion for helper.

3.0.2

29 Oct 11:28
9cefe91

Choose a tag to compare

Fixes

  • Fixed identity to array conversion.
  • Fixed component enable check in helper

3.0.1

06 Aug 09:02

Choose a tag to compare

Fixes

Fixed compatibility with plugins a bit more.