mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-26 11:33:52 +03:00
[PR #1703] [MERGED] Fix server owner permissions #1526
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/1703
Author: @danielkurek
Created: 9/12/2025
Status: ✅ Merged
Merged: 9/15/2025
Merged by: @lancepioch
Base:
main← Head:fix-owner-permissions📝 Commits (2)
99b343dFix: server owner cannot update own server when he is also admin993cca9fix lint issues📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
app/Services/Servers/GetUserPermissionsService.php(+4 -4)📄 Description
I have stumbled upon a possible bug Server owner cannot start/restart/stop their own server if they have assigned some admin role without server update permission. I would expect that being a server owner would allow you to do anything with the server.
I am not sure if this is just a bug or if it is intentional. I have not read most of the codebase so I do not know if this change has some unwanted behaviour.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.