[PR #190] [CLOSED] feat: Roles #640

Closed
opened 2026-02-05 17:49:56 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/190
Author: @Poseidon281
Created: 5/8/2024
Status: Closed

Base: mainHead: Filament-Shield


📝 Commits (10+)

  • e89cdc1 Update 1
  • a8c03cc Pint Fixes
  • 3decbf1 Fixed: Roles page is no longer accessable when the right permissions are not given
  • 6a81291 Pint Fixes and removing root_admin from User model
  • 4128b62 Update 5
  • 2d4b556 Merge remote-tracking branch 'upstream/main' into Filament-Shield
  • cfed1c3 Update 6 and yarn upgrade
  • 13f82cc Upgrade package.json to resolve workflow error
  • c227cb5 undo yarn upgrade and fixing error
  • 4c4f19c Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/190 **Author:** [@Poseidon281](https://github.com/Poseidon281) **Created:** 5/8/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `Filament-Shield` --- ### 📝 Commits (10+) - [`e89cdc1`](https://github.com/pelican-dev/panel/commit/e89cdc10bf5ced3f5b2e3ff14ff718a228e50051) Update 1 - [`a8c03cc`](https://github.com/pelican-dev/panel/commit/a8c03cc8999839fcedb481e83827a2100002ecf2) Pint Fixes - [`3decbf1`](https://github.com/pelican-dev/panel/commit/3decbf1ff1ca018eccdf7967639b733aa074692a) Fixed: Roles page is no longer accessable when the right permissions are not given - [`6a81291`](https://github.com/pelican-dev/panel/commit/6a8129121582cb98ec3ac8ba32d64c699645f9d9) Pint Fixes and removing root_admin from User model - [`4128b62`](https://github.com/pelican-dev/panel/commit/4128b62eb213424eb6d72b00c195af2edd596c21) Update 5 - [`2d4b556`](https://github.com/pelican-dev/panel/commit/2d4b5569199c8988231be735b3c94d9a2904fc1d) Merge remote-tracking branch 'upstream/main' into Filament-Shield - [`cfed1c3`](https://github.com/pelican-dev/panel/commit/cfed1c31046386d7893dced007e12fafae524d31) Update 6 and yarn upgrade - [`13f82cc`](https://github.com/pelican-dev/panel/commit/13f82cc5c5c6b5fc5aaaf692b86ea6e25ee7a1f8) Upgrade package.json to resolve workflow error - [`c227cb5`](https://github.com/pelican-dev/panel/commit/c227cb519bab59aff9e0516ace84aad33488f92c) undo yarn upgrade and fixing error - [`4c4f19c`](https://github.com/pelican-dev/panel/commit/4c4f19c4d42d2c3ea6862f4c9d9da7f4052542e5) Merge remote-tracking branch 'upstream/main' into Filament-Shield ### 📊 Changes **54 files changed** (+14650 additions, -10551 deletions) <details> <summary>View changed files</summary> 📝 `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_ </details> ### 📄 Description With the help of [Filament Shield](https://filamentphp.com/plugins/bezhansalleh-shield) i am making a Roles System for the panel. Suggestions are always welcome #37 #157 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 17:49:56 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#640