mirror of
https://github.com/pelican-dev/plugins.git
synced 2026-05-09 08:26:01 +02:00
[PR #86] [MERGED] Drop user created server's resource entry minimum limit to 0 #105
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/plugins#105
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/plugins/pull/86
Author: @yesrod
Created: 1/22/2026
Status: ✅ Merged
Merged: 1/31/2026
Merged by: @Boy132
Base:
main← Head:x-fix-user-creatable-cpu-limit📝 Commits (2)
1f9ce60fix: drop user resource limit to 0de20bf4fix: only allow unlimited resources for servers if the user doesn't have a global limit in that resource📊 Changes
2 files changed (+6 additions, -6 deletions)
View changed files
📝
user-creatable-servers/src/Filament/Components/Actions/CreateServerAction.php(+3 -3)📝
user-creatable-servers/src/Filament/Server/Pages/ServerResourcePage.php(+3 -3)📄 Description
The rest of the code is already set up to treat 0 as "unlimited", as far as I can tell, but the UI elements were limiting the minimum to 1. This change allows users to specify unlimited resources for a specific server if the user is not globally limited in that resource. I've tested this on my local Pelican instance, and it works as intended.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.