mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #190] [CLOSED] feat: Roles #640
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/190
Author: @Poseidon281
Created: 5/8/2024
Status: ❌ Closed
Base:
main← Head:Filament-Shield📝 Commits (10+)
e89cdc1Update 1a8c03ccPint Fixes3decbf1Fixed: Roles page is no longer accessable when the right permissions are not given6a81291Pint Fixes and removing root_admin from User model4128b62Update 52d4b556Merge remote-tracking branch 'upstream/main' into Filament-Shieldcfed1c3Update 6 and yarn upgrade13f82ccUpgrade package.json to resolve workflow errorc227cb5undo yarn upgrade and fixing error4c4f19cMerge remote-tracking branch 'upstream/main' into Filament-Shield📊 Changes
54 files changed (+14650 additions, -10551 deletions)
View changed files
📝
app/Filament/Pages/Dashboard.php(+9 -0)➕
app/Filament/Resources/Shield/RoleResource.php(+397 -0)➕
app/Filament/Resources/Shield/RoleResource/Pages/CreateRole.php(+43 -0)➕
app/Filament/Resources/Shield/RoleResource/Pages/EditRole.php(+50 -0)➕
app/Filament/Resources/Shield/RoleResource/Pages/ListRoles.php(+19 -0)➕
app/Filament/Resources/Shield/RoleResource/Pages/ViewRole.php(+19 -0)📝
app/Filament/Resources/UserResource/Pages/CreateUser.php(+5 -23)📝
app/Filament/Resources/UserResource/Pages/EditUser.php(+5 -23)📝
app/Filament/Resources/UserResource/Pages/ListUsers.php(+4 -9)📝
app/Models/User.php(+7 -7)➕
app/Policies/ApiKeyPolicy.php(+108 -0)➕
app/Policies/DatabaseHostPolicy.php(+108 -0)➕
app/Policies/DatabasePolicy.php(+108 -0)📝
app/Policies/EggPolicy.php(+96 -1)➕
app/Policies/MountPolicy.php(+108 -0)➕
app/Policies/NodePolicy.php(+108 -0)➕
app/Policies/RolePolicy.php(+108 -0)📝
app/Policies/ServerPolicy.php(+82 -18)➕
app/Policies/UserPolicy.php(+107 -0)📝
app/Providers/Filament/AdminPanelProvider.php(+3 -0)...and 34 more files
📄 Description
With the help of Filament Shield i am making a Roles System for the panel. Suggestions are always welcome
#37
#157
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.