mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Admin Role Users Without Permission Can Change Primary Allocation #160
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?
Originally created by @FordCorn on GitHub (Oct 2, 2024).
Current Behavior
Users given an admin role that only allows servers to be viewed are still able to change the primary allocation even without permission.
Extra info: the user itself is also not able to add, remove, or modify current allocations on the server either, only view.
Expected Behavior
The user should not be able to change the default allocation without the permission to change allocations on a server.
Steps to Reproduce
Create a user role in the admin panel and give it server view permissions, log in as said user and look at the servers page, the user is able to change the primary allocation even though they do not have the required permissions to do so, or if this is even intended.
Panel Version
1.0.0-beta10
Wings Version
1.0.0-beta5
Games and/or Eggs Affected
Minecraft (Fabric)
Docker Image
ghcr.io/parkervcp/yolks:java_21
Error Logs
No response
Is there an existing issue for this?
@rmartinoscar commented on GitHub (Oct 2, 2024):
Hey should be fixed with https://github.com/pelican-dev/panel/pull/601 thanks for your report !