A CakePHP 3.x plugin to handle user authorization the easy way.
[Users]
index = *
add,edit = user, mod
* = admin
[admin/Users]
* = adminSee http://sandbox3.dereuromark.de/auth-sandbox
Installing the plugin is pretty much as with every other CakePHP Plugin.
composer require dereuromark/cakephp-tinyauth:dev-masterThen, to load the plugin either run the following command:
bin/cake plugin load TinyAuthor manually add the following line to your app's config/bootstrap.php file:
Plugin::load('TinyAuth');That's it. It should be up and running.
See Docs.
Also note the original blog post and how it all started.
The master branch is the currently active and maintained one and works with the current 3.x stable version. Please see the original Tools plugin if you need TinyAuth for CakePHP 2.x versions.