githubjeka/yii2-gui-rbac
最新稳定版本:v2.0.0
Composer 安装命令:
composer require githubjeka/yii2-gui-rbac
包简介
Yii 2 RBAC management GUI interface
README 文档
README
How to install
🐤 Follow the commands:
- Check that the component
authManagerhas been configured. - Add to your composer.json
"githubjeka/yii2-gui-rbac": "1.0.2" - Run
composer update - If your project doesn't have to implement rbac then run
yii migrate --migrationPath=@yii/rbac/migrations/ - Add to
@app/config/main.phpthe code:
// '/config/web.php' for Basic or '/backend/config/main' - Advanced Yii2 application. 'modules' => [ 'rbac' => [ 'class' => 'githubjeka\rbac\Module', 'as access' => [ // if you need to set access 'class' => 'yii\filters\AccessControl', 'rules' => [ [ 'allow' => true, 'roles' => ['@'] // all auth users ], ] ] ], ],
- go to url
/index.php?r=rbac
统计信息
- 总下载量: 41.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 83
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-03-31