montreux-oberland-bernois/cakephp3-aclmanager
Composer 安装命令:
composer require montreux-oberland-bernois/cakephp3-aclmanager
包简介
Acl Manager for CakePHP 3.x
README 文档
README
Acl Manager For CakePHP 3.x
Installation
Composer
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
Getting started
- 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]);
Creating ACL tables
To create ACL related tables, run the following Migrations command:
bin/cake migrations migrate -p Acl
Usage
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.
Todo
- Ajax Update children when change permissions
About CakePHP 3.x AclManager
CakePHP 3.x - Acl Manager was inspired by the plugin of Jean-Christophe Pires (JcPires) and Iván Amat.
Licensed
统计信息
- 总下载量: 874
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-02