sweet1s/voyager-co-admin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

  1. Require the Package:
    composer require sweet1s/voyager-co-admin
  2. 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 BeforeAdmin Moderator role view BeforeModerator

After

With the "voyager-co-admin" package, the role will only be able to see the permissions that they themselves possess.

Admin role view BeforeAdmin Moderator role view BeforeModerator

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-09