[PR #1940] [CLOSED] feat: add user api management via application api #1661

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

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1940
Author: @m41denx
Created: 11/27/2025
Status: Closed

Base: mainHead: feat/user-keys-api


📝 Commits (1)

📊 Changes

7 files changed (+302 additions, -0 deletions)

View changed files

app/Http/Controllers/Api/Application/Users/UserApiKeyController.php (+78 -0)
app/Http/Requests/Api/Application/Users/ApiKeys/DeleteUserApiKeyRequest.php (+14 -0)
app/Http/Requests/Api/Application/Users/ApiKeys/GetUserApiKeysRequest.php (+14 -0)
app/Http/Requests/Api/Application/Users/ApiKeys/StoreUserApiKeyRequest.php (+53 -0)
app/Transformers/Api/Application/ApiKeyTransformer.php (+34 -0)
📝 routes/api-application.php (+6 -0)
tests/Integration/Api/Application/Users/UserApiKeyControllerTest.php (+103 -0)

📄 Description

This PR adds API functionality to manage user API keys via application API.

Caveats:

  • this feature has partial functional implementation for livewire (ability to view and delete user api keys from admin panel, but not create them

Motivation: idk, this allows to use pelican headless. Also someone on Discord wanted to use pelican for hosting but not giving users full panel access: Link to Message


🔄 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/1940 **Author:** [@m41denx](https://github.com/m41denx) **Created:** 11/27/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/user-keys-api` --- ### 📝 Commits (1) - [`adb255c`](https://github.com/pelican-dev/panel/commit/adb255cd34cbe31af2abd4bbc3174b40ea443334) added api management ### 📊 Changes **7 files changed** (+302 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `app/Http/Controllers/Api/Application/Users/UserApiKeyController.php` (+78 -0) ➕ `app/Http/Requests/Api/Application/Users/ApiKeys/DeleteUserApiKeyRequest.php` (+14 -0) ➕ `app/Http/Requests/Api/Application/Users/ApiKeys/GetUserApiKeysRequest.php` (+14 -0) ➕ `app/Http/Requests/Api/Application/Users/ApiKeys/StoreUserApiKeyRequest.php` (+53 -0) ➕ `app/Transformers/Api/Application/ApiKeyTransformer.php` (+34 -0) 📝 `routes/api-application.php` (+6 -0) ➕ `tests/Integration/Api/Application/Users/UserApiKeyControllerTest.php` (+103 -0) </details> ### 📄 Description This PR adds API functionality to manage user API keys via application API. **Caveats:** - this feature has partial functional implementation for livewire (ability to view and delete user api keys from admin panel, but not create them **Motivation:** idk, this allows to use pelican headless. Also someone on Discord wanted to use pelican for hosting but not giving users full panel access: [Link to Message](https://discord.com/channels/1218730176297439332/1218733575151816774/1442441047677337622) --- <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:06:01 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1661