[PR #2124] [MERGED] Add allocation to role permission models & make sure user can target node of allocation #1771

Closed
opened 2026-02-04 20:14:11 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/2124
Author: @Boy132
Created: 1/19/2026
Status: Merged
Merged: 1/23/2026
Merged by: @Boy132

Base: mainHead: boy132/fix-allocation-policy


📝 Commits (2)

  • bdd2979 add allocation to role permission models
  • 03d0433 make sure user can target node of allocation

📊 Changes

2 files changed (+24 additions, -0 deletions)

View changed files

📝 app/Enums/RolePermissionModels.php (+6 -0)
📝 app/Policies/AllocationPolicy.php (+18 -0)

📄 Description

No description provided


🔄 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/2124 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 1/19/2026 **Status:** ✅ Merged **Merged:** 1/23/2026 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/fix-allocation-policy` --- ### 📝 Commits (2) - [`bdd2979`](https://github.com/pelican-dev/panel/commit/bdd29791dae9afcbf1d51a4019f95b8b5e5f65d0) add allocation to role permission models - [`03d0433`](https://github.com/pelican-dev/panel/commit/03d0433265adc9f8238641d9ace35bfd88de685a) make sure user can target node of allocation ### 📊 Changes **2 files changed** (+24 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `app/Enums/RolePermissionModels.php` (+6 -0) 📝 `app/Policies/AllocationPolicy.php` (+18 -0) </details> ### 📄 Description _No description provided_ --- <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-04 20:14:11 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1771