[PR #1883] [MERGED] fix: bypass tenant scoping in allocation queries #1634

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

📋 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: mainHead: palmarhealer/fix-automatic-allocation-scope


📝 Commits (1)

  • 3990121 fix: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/1883 **Author:** [@PalmarHealer](https://github.com/PalmarHealer) **Created:** 11/10/2025 **Status:** ✅ Merged **Merged:** 11/13/2025 **Merged by:** [@rmartinoscar](https://github.com/rmartinoscar) **Base:** `main` ← **Head:** `palmarhealer/fix-automatic-allocation-scope` --- ### 📝 Commits (1) - [`3990121`](https://github.com/pelican-dev/panel/commit/39901214b0a28c68f1ca3cc2a58b41f42d1e411a) fix: bypass tenant scoping in allocation queries ### 📊 Changes **1 file changed** (+11 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `app/Services/Allocations/FindAssignableAllocationService.php` (+11 -3) </details> ### 📄 Description Use `withoutGlobalScopes()` in allocation queries to ensure unassigned allocations can be found when called from the Server panel context. Supersedes #1852 --- <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:55 +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#1634