mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
Lock Allocation not working #487
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 @JoanFo1456 on GitHub (Nov 12, 2025).
Current Behavior
When an allocation is locked, it shows the delete button and it works, the allocation is removed even though it's locked.
(Tested on demo)
Expected Behavior
It shouldn't show delete and it should avoid the deletion.
Steps to Reproduce
Go to a server that has a locked allocation
Go to network (client side)
And you'll see delete, click it and accept.
Panel Version
canary (
445c936)Wings Version
develop
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@Boy132 commented on GitHub (Nov 12, 2025):
Only admins will see the delete button:
445c9364bc/app/Filament/Server/Resources/Allocations/AllocationResource.php (L84)Normal user:

Admin user:

@rmartinoscar commented on GitHub (Nov 12, 2025):
Hover the delete action on client side it should tell you (Only admins can do that)