Lock Allocation not working #487

Closed
opened 2026-02-05 17:40:40 +03:00 by OVERLORD · 2 comments
Owner

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?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
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 ```bash ``` ### Is there an existing issue for this? - [x] I have searched the existing issues before opening this issue. - [x] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server. - [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Author
Owner

@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:
Image

Admin user:
Image

@Boy132 commented on GitHub (Nov 12, 2025): Only admins will see the delete button: https://github.com/pelican-dev/panel/blob/445c9364bce8c8428509647b261b619f8c69c3e8/app/Filament/Server/Resources/Allocations/AllocationResource.php#L84 Normal user: <img width="1843" height="906" alt="Image" src="https://github.com/user-attachments/assets/19082ab1-8429-4099-a2de-28195a5bdc20" /> Admin user: <img width="1843" height="913" alt="Image" src="https://github.com/user-attachments/assets/8c785ee5-c8a1-43b4-a0d5-98455fd21488" />
Author
Owner

@rmartinoscar commented on GitHub (Nov 12, 2025):

Hover the delete action on client side it should tell you (Only admins can do that)

@rmartinoscar commented on GitHub (Nov 12, 2025): Hover the delete action on client side it should tell you (Only admins can do that)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#487