mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
[PR #1811] [MERGED] Allow admins to "lock" allocations #1583
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/1811
Author: @Boy132
Created: 10/14/2025
Status: ✅ Merged
Merged: 11/8/2025
Merged by: @Boy132
Base:
main← Head:boy132/allocation-marker📝 Commits (4)
d81294aadd allocation locking67c0461Merge branch 'main' into boy132/allocation-marker5e6b255add missing tooltipe3f3226make sure allocation is unlocked when removed from server📊 Changes
7 files changed (+93 additions, -7 deletions)
View changed files
📝
app/Filament/Admin/Resources/Servers/RelationManagers/AllocationsRelationManager.php(+36 -5)📝
app/Filament/Server/Resources/Allocations/AllocationResource.php(+9 -2)📝
app/Models/Allocation.php(+13 -0)📝
app/Services/Servers/ServerCreationService.php(+1 -0)➕
database/migrations/2025_10_14_065517_add_is_locked_to_allocations.php(+28 -0)📝
lang/en/admin/server.php(+4 -0)📝
lang/en/server/network.php(+2 -0)📄 Description
Closes #1740
If an allocation is locked it can't be removed on the client area/ by normal users. When admins assign allocations to a server they are locked by default but can also be manually locked/ unlocked.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.