mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 11:20:41 +03:00
[PR #636] [CLOSED] Allow rootadmin role #864
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/636
Author: @rmartinoscar
Created: 10/18/2024
Status: ❌ Closed
Base:
main← Head:fix/rootadmin📝 Commits (1)
e9e8a9bUpdate EditUser.php📊 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_adminnot forAuth::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.