[PR #1219] [MERGED] Show different roles CheckboxList for root admins and non root admins #1257

Closed
opened 2026-02-04 19:30:53 +03:00 by OVERLORD · 0 comments
Owner

📋 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: mainHead: boy132/fix-edit-root-admin-user


📝 Commits (4)

  • 373f4c3 show different roles checkbox list for root admins and non root admins
  • e988bc2 simplify saveRelationshipsUsing
  • 54e4e8c remove disableOptionWhen
  • b988c75 add 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:
image

Normal user:
image


🔄 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/1219 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 4/5/2025 **Status:** ✅ Merged **Merged:** 4/7/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/fix-edit-root-admin-user` --- ### 📝 Commits (4) - [`373f4c3`](https://github.com/pelican-dev/panel/commit/373f4c380327c78251d8f8faea50159c74dddb93) show different roles checkbox list for root admins and non root admins - [`e988bc2`](https://github.com/pelican-dev/panel/commit/e988bc229f794a6c935dd1f8564e30bef6b659c5) simplify saveRelationshipsUsing - [`54e4e8c`](https://github.com/pelican-dev/panel/commit/54e4e8cd7b21079740b3f7ef6e39144bdc32365b) remove disableOptionWhen - [`b988c75`](https://github.com/pelican-dev/panel/commit/b988c75d34a7fe5bf53a5d0510090aaa9e4dfc0b) add migration to remove additional roles from root admins ### 📊 Changes **2 files changed** (+44 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Admin/Resources/UserResource.php` (+17 -7) ➕ `database/migrations/2025_04_07_062945_remove_additional_roles_of_root_admins.php` (+27 -0) </details> ### 📄 Description Root admin: ![image](https://github.com/user-attachments/assets/6f31eda5-6c20-434c-af5f-b784dfb37d54) Normal user: ![image](https://github.com/user-attachments/assets/d4064f9b-0357-4bed-8aea-576d7cfe91a2) --- <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-04 19:30:53 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1257