[PR #636] [CLOSED] Allow rootadmin role #864

Closed
opened 2026-02-04 18:56:50 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/636
Author: @rmartinoscar
Created: 10/18/2024
Status: Closed

Base: mainHead: fix/rootadmin


📝 Commits (1)

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 app/Filament/Resources/UserResource/Pages/EditUser.php (+1 -1)
📝 app/Filament/Resources/UserResource/Pages/ListUsers.php (+1 -1)

📄 Description

This make it so you can add "root_admin" users again, without this you can't grant any privilege on the client area until #416 gets merged cause the legacy still checks for Auth::user()->root_admin not for Auth::user()->can('resource permission').

https://github.com/pelican-dev/panel/issues/634#issuecomment-2416530074


🔄 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/636 **Author:** [@rmartinoscar](https://github.com/rmartinoscar) **Created:** 10/18/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/rootadmin` --- ### 📝 Commits (1) - [`e9e8a9b`](https://github.com/pelican-dev/panel/commit/e9e8a9b49055896ee0d44d16d701bf983c5346a2) Update EditUser.php ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Resources/UserResource/Pages/EditUser.php` (+1 -1) 📝 `app/Filament/Resources/UserResource/Pages/ListUsers.php` (+1 -1) </details> ### 📄 Description This make it so you can add "root_admin" users again, without this you can't grant any privilege on the client area until #416 gets merged cause the legacy still checks for `Auth::user()->root_admin` not for `Auth::user()->can('resource permission')`. https://github.com/pelican-dev/panel/issues/634#issuecomment-2416530074 --- <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 18:56:50 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#864