mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #611] [MERGED] Update API for roles #852
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/611
Author: @Boy132
Created: 10/7/2024
Status: ✅ Merged
Merged: 10/9/2024
Merged by: @Boy132
Base:
main← Head:update/roles-api📝 Commits (5)
4885b83removeguard_namefrom api and add id to transformer87b3a6adisallow update/ delete for root admin role via apie7c0243disallow assigning root admin via apid0b1d1fadd api to remove user rolesd828bbffix assignRoles & removeRoles📊 Changes
7 files changed (+43 additions, -9 deletions)
View changed files
📝
app/Http/Controllers/Api/Application/Roles/RoleController.php(+11 -2)📝
app/Http/Controllers/Api/Application/Users/UserController.php(+28 -2)📝
app/Http/Requests/Api/Application/Roles/StoreRoleRequest.php(+0 -1)📝
app/Http/Requests/Api/Application/Users/AssignUserRolesRequest.php(+1 -1)📝
app/Transformers/Api/Application/RolePermissionTransformer.php(+0 -1)📝
app/Transformers/Api/Application/RoleTransformer.php(+1 -1)📝
routes/api-application.php(+2 -1)📄 Description
Root Adminrole.guard_namefrom role transformer.idto role transformer.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.