A CakePHP 3.x plugin to handle authentication and user authorization the easy way.
See http://sandbox3.dereuromark.de/auth-sandbox
Users = index,view
PluginName.SomeController = *
[Users]
index = *
add,edit = user,mod
[admin/Users]
* = admin
Installing the plugin is pretty much as with every other CakePHP plugin:
composer require dereuromark/cakephp-tinyauth
Then, to load the plugin either run the following command:
bin/cake plugin load TinyAuth
or 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.
For setup and usage 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.