sweet1s/voyager-co-admin
最新稳定版本:1.1.1
Composer 安装命令:
composer require sweet1s/voyager-co-admin
包简介
Voyager Co Admin
README 文档
README
Description
The "voyager-co-admin" package is designed specifically for the Laravel Voyager Admin Panel 1.6. It enhances the functionality by displaying the permissions granted by the superuser (root or admin) in the Voyager Admin Panel. With this package, if certain roles are given the permissions to create and assign roles, they will be able to grant the same permissions to other roles that they themselves possess.
By utilizing "voyager-co-admin", administrators can have granular control over role management within the Voyager Admin Panel. The package enables a hierarchical role structure where designated roles with the appropriate permissions can create and assign roles to other users, ensuring the seamless delegation of access privileges.
Installation
Requirement
Voyager: v1.5+
You should fully install the package Voyager before.
- Require the Package:
composer require sweet1s/voyager-co-admin
- Run The Installer:
php artisan co-admin:install
Features
- Display the permissions granted by the superuser (root or admin) in the Voyager Admin Panel.
- Enable a hierarchical role structure where designated roles with the appropriate permissions can create and assign roles to other users.
- Hide roles that should not be visible to other users when editing users.
- Ensure the seamless delegation of access privileges.
- Manage who can give out certain roles and who can't
Before
In the regular usage of Voyager Admin Panel, when creating a role with limited capabilities, the role will still be able to see all existing permissions.
Admin Role view
Moderator role view

After
With the "voyager-co-admin" package, the role will only be able to see the permissions that they themselves possess.
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-09

