[PR #1937] [MERGED] Fix Policies modelname are case sensitive #1662

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

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1937
Author: @rmartinoscar
Created: 11/27/2025
Status: Merged
Merged: 11/27/2025
Merged by: @rmartinoscar

Base: mainHead: fix/policiesModelname


📝 Commits (1)

  • e2b6db2 Fix policies modelname are case sensitive

📊 Changes

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

View changed files

📝 app/Policies/ApiKeyPolicy.php (+1 -1)
📝 app/Policies/DatabaseHostPolicy.php (+1 -1)

📄 Description

They need to match RolePermissionModels since #1892
d0af45a0c7/app/Enums/RolePermissionModels.php (L7-L16)


🔄 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/1937 **Author:** [@rmartinoscar](https://github.com/rmartinoscar) **Created:** 11/27/2025 **Status:** ✅ Merged **Merged:** 11/27/2025 **Merged by:** [@rmartinoscar](https://github.com/rmartinoscar) **Base:** `main` ← **Head:** `fix/policiesModelname` --- ### 📝 Commits (1) - [`e2b6db2`](https://github.com/pelican-dev/panel/commit/e2b6db20004cadb05d57f281423620c50c6d352d) Fix policies modelname are case sensitive ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `app/Policies/ApiKeyPolicy.php` (+1 -1) 📝 `app/Policies/DatabaseHostPolicy.php` (+1 -1) </details> ### 📄 Description They need to match RolePermissionModels since #1892 https://github.com/pelican-dev/panel/blob/d0af45a0c76c53230ee209086c31dc37765a5a8c/app/Enums/RolePermissionModels.php#L7-L16 --- <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:20:43 +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#1662