dnetix/rbac
Composer 安装命令:
composer require dnetix/rbac
包简介
Role Based Access Control Module
README 文档
README
Installation
With composer
composer require dnetix/rbac
Add the service provided to the app.php config file
\Dnetix\Rbac\RbacServiceProvider::class,
Publish the configurations and migrations for this package
php artisan vendor:publish
Modify the rbac.php config file with your own permissions
Make sure that the Models or Classes that will be using permissions and roles implements from the interface
Illuminate\Contracts\Auth\Authenticatable;
TODO
- Revoke permissions to specific authenticatables (Users)
- Cache the results provided for the repository, they change rarely
统计信息
- 总下载量: 105
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-27