mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #1883] [MERGED] fix: bypass tenant scoping in allocation queries #1634
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/1883
Author: @PalmarHealer
Created: 11/10/2025
Status: ✅ Merged
Merged: 11/13/2025
Merged by: @rmartinoscar
Base:
main← Head:palmarhealer/fix-automatic-allocation-scope📝 Commits (1)
3990121fix: bypass tenant scoping in allocation queries📊 Changes
1 file changed (+11 additions, -3 deletions)
View changed files
📝
app/Services/Allocations/FindAssignableAllocationService.php(+11 -3)📄 Description
Use
withoutGlobalScopes()in allocation queries to ensure unassigned allocations can be found when called from the Server panel context.Supersedes #1852
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.