mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 19:08:53 +03:00
[PR #1219] [MERGED] Show different roles CheckboxList for root admins and non root admins
#1257
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/1219
Author: @Boy132
Created: 4/5/2025
Status: ✅ Merged
Merged: 4/7/2025
Merged by: @Boy132
Base:
main← Head:boy132/fix-edit-root-admin-user📝 Commits (4)
373f4c3show different roles checkbox list for root admins and non root adminse988bc2simplify saveRelationshipsUsing54e4e8cremove disableOptionWhenb988c75add migration to remove additional roles from root admins📊 Changes
2 files changed (+44 additions, -7 deletions)
View changed files
📝
app/Filament/Admin/Resources/UserResource.php(+17 -7)➕
database/migrations/2025_04_07_062945_remove_additional_roles_of_root_admins.php(+27 -0)📄 Description
Root admin:

Normal user:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.