[PR #1700] [CLOSED] Add RequireApplicationApiKey middleware & remove rootAdmin bypass #1523

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

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1700
Author: @rmartinoscar
Created: 9/10/2025
Status: Closed

Base: mainHead: chore/enforce-keytype-on-application


📝 Commits (1)

  • 30919cf Add RequireApplicationApiKey middleware & remove rootAdmin bypass

📊 Changes

3 files changed (+27 additions, -12 deletions)

View changed files

app/Http/Middleware/Api/Application/RequireApplicationApiKey.php (+26 -0)
📝 app/Transformers/Api/Application/BaseTransformer.php (+0 -12)
📝 bootstrap/app.php (+1 -0)

📄 Description

Before (non root user)
image

Before (root user)
image

After (regardless of root)
image


🔄 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/1700 **Author:** [@rmartinoscar](https://github.com/rmartinoscar) **Created:** 9/10/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chore/enforce-keytype-on-application` --- ### 📝 Commits (1) - [`30919cf`](https://github.com/pelican-dev/panel/commit/30919cfb702b31296436975516eb871679bb488a) Add RequireApplicationApiKey middleware & remove rootAdmin bypass ### 📊 Changes **3 files changed** (+27 additions, -12 deletions) <details> <summary>View changed files</summary> ➕ `app/Http/Middleware/Api/Application/RequireApplicationApiKey.php` (+26 -0) 📝 `app/Transformers/Api/Application/BaseTransformer.php` (+0 -12) 📝 `bootstrap/app.php` (+1 -0) </details> ### 📄 Description Before (non root user) <img width="489" height="54" alt="image" src="https://github.com/user-attachments/assets/9a63957f-3601-4a0c-9155-cf7225ee3563" /> Before (root user) <img width="1068" height="19" alt="image" src="https://github.com/user-attachments/assets/d6bf6a47-4400-42a2-af51-91bddb350665" /> After (regardless of root) <img width="764" height="61" alt="image" src="https://github.com/user-attachments/assets/03b7e086-47fd-4369-a590-e886e3b6ddb3" /> --- <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 19:53:53 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1523