mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-25 03:14:39 +03:00
[PR #978] [CLOSED] Add isAdmin check to SelectableRecord in ListUsers
#1094
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/978
Author: @rmartinoscar
Created: 2/7/2025
Status: ❌ Closed
Base:
main← Head:fix/CanDeleteRootAdmin📝 Commits (1)
0f5e3f6Add isAdmin check to SelectableRecord📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
app/Filament/Admin/Resources/UserResource/Pages/ListUsers.php(+1 -1)📄 Description
No one should be able to delete any RootAdmin user from the panel.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.