mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
[PR #1961] [MERGED] Refactor subuser permissions #1675
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/1961
Author: @Boy132
Created: 12/4/2025
Status: ✅ Merged
Merged: 12/11/2025
Merged by: @Boy132
Base:
main← Head:boy132/refactor-subuser-permissions📝 Commits (10+)
5fd29f8refactor subuser permissionsb51ffe4replace consts with enumbdab25afix tests88d994afix tests part 288a0f7efix tests part 30929dferabbit changes5e0f6fdsmall cleanupsca5a5f4improve registration for custom permissions548ba4dmake phpstan happy4438ed4tiny cleanup📊 Changes
112 files changed (+610 additions, -668 deletions)
View changed files
📝
app/Contracts/Http/ClientPermissionsRequest.php(+5 -4)➕
app/Enums/SubuserPermission.php(+88 -0)📝
app/Extensions/Features/Schemas/GSLTokenSchema.php(+2 -2)📝
app/Extensions/Features/Schemas/JavaVersionSchema.php(+2 -2)📝
app/Filament/App/Resources/Servers/Pages/ListServers.php(+5 -5)📝
app/Filament/Components/Actions/ExportScheduleAction.php(+2 -2)📝
app/Filament/Components/Actions/ImportScheduleAction.php(+2 -2)📝
app/Filament/Server/Pages/Console.php(+5 -5)📝
app/Filament/Server/Pages/Settings.php(+9 -9)📝
app/Filament/Server/Pages/Startup.php(+6 -6)📝
app/Filament/Server/Resources/Allocations/AllocationResource.php(+5 -5)📝
app/Filament/Server/Resources/Backups/BackupResource.php(+7 -7)📝
app/Filament/Server/Resources/Databases/DatabaseResource.php(+4 -4)📝
app/Filament/Server/Resources/Files/Pages/DownloadFiles.php(+2 -2)📝
app/Filament/Server/Resources/Files/Pages/EditFiles.php(+4 -4)📝
app/Filament/Server/Resources/Files/Pages/ListFiles.php(+22 -22)📝
app/Filament/Server/Resources/Schedules/Pages/ViewSchedule.php(+2 -2)📝
app/Filament/Server/Resources/Subusers/SubuserResource.php(+16 -8)📝
app/Filament/Server/Widgets/ServerConsole.php(+3 -3)📝
app/Http/Controllers/Api/Client/ClientController.php(+3 -4)...and 80 more files
📄 Description
(Backend) Refactors for subuser permissions:
PermissionsmodelSubusermodelPermission names have not changed! So (in theory) no breaking changes for existing installs!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.