mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 19:08:53 +03:00
[PR #1940] [CLOSED] feat: add user api management via application api #1661
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1940
Author: @m41denx
Created: 11/27/2025
Status: ❌ Closed
Base:
main← Head:feat/user-keys-api📝 Commits (1)
adb255cadded api management📊 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:
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.