[PR #1852] [CLOSED] fix: Automatic allocation creation #1615

Closed
opened 2026-02-05 18:19:18 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1852
Author: @PalmarHealer
Created: 10/30/2025
Status: Closed

Base: mainHead: palmarhealer/add-second-auto-allocation-option


📝 Commits (3)

  • 9de01b2 Add allocation mode configuration
  • 582c7fd Replace allocation mode configuration with create_new toggle
  • 4499e40 Merge branch 'pelican-dev:main' into palmarhealer/add-second-auto-allocation-option

📊 Changes

4 files changed (+43 additions, -10 deletions)

View changed files

📝 app/Filament/Admin/Pages/Settings.php (+14 -2)
📝 app/Services/Allocations/FindAssignableAllocationService.php (+26 -8)
📝 config/panel.php (+1 -0)
📝 lang/en/admin/setting.php (+2 -0)

📄 Description

Fixes that new allocations are being created because $server->node->allocations() is scoped. Also adds the option to disable the creation for new allocations and limits it to the unassigned allocations already available.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/1852 **Author:** [@PalmarHealer](https://github.com/PalmarHealer) **Created:** 10/30/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `palmarhealer/add-second-auto-allocation-option` --- ### 📝 Commits (3) - [`9de01b2`](https://github.com/pelican-dev/panel/commit/9de01b2cf8f18b99550f521aa916713930058dbe) Add allocation mode configuration - [`582c7fd`](https://github.com/pelican-dev/panel/commit/582c7fd0a803db431a9a4f13aabae60022b7d80c) Replace allocation mode configuration with create_new toggle - [`4499e40`](https://github.com/pelican-dev/panel/commit/4499e4041237081a02a7b2eeb9ad2fd8beadd778) Merge branch 'pelican-dev:main' into palmarhealer/add-second-auto-allocation-option ### 📊 Changes **4 files changed** (+43 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Admin/Pages/Settings.php` (+14 -2) 📝 `app/Services/Allocations/FindAssignableAllocationService.php` (+26 -8) 📝 `config/panel.php` (+1 -0) 📝 `lang/en/admin/setting.php` (+2 -0) </details> ### 📄 Description Fixes that new allocations are being created because ```$server->node->allocations()``` is scoped. Also adds the option to disable the creation for new allocations and limits it to the unassigned allocations already available. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 18:19:18 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#1615