Acl Manager For CakePHP 3.x
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require montreux-oberland-bernois/cakephp3-aclmanager
- Install the CakePHP ACL plugin by running composer require cakephp/acl. Read Acl plugin documentation.
- Include the Acl and AclManager plugins in app/config/bootstrap.php
Plugin::load('Acl', ['bootstrap' => true]);
Plugin::load('AclManager', ['bootstrap' => true, 'routes' => true]);
To create ACL related tables, run the following Migrations command:
bin/cake migrations migrate -p Acl
Now navigate to admin/AclManager/Acl, update your acos and your aros or just click Restore to default.
For specified user or group managing, you can pass one or multiple id in params (ex. admin/AclManager/acl/Permissions/Users?id=2, 42).
This plugin is adapted for AdminLTE Template.
- Ajax Update children when change permissions
CakePHP 3.x - Acl Manager was inspired by the plugin of Jean-Christophe Pires (JcPires) and Iván Amat.