mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-26 03:21:41 +03:00
[PR #1014] [MERGED] Add backend validation to subuser permissions #1117
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/1014
Author: @Boy132
Created: 2/17/2025
Status: ✅ Merged
Merged: 2/21/2025
Merged by: @Boy132
Base:
main← Head:boy132/fix-subuser-permissions📝 Commits (3)
d3b0ba9add backend validation to subuser permissions6bfa430always allow websocket.connecte74a5f3use collection to clean permissions📊 Changes
2 files changed (+21 additions, -7 deletions)
View changed files
📝
app/Services/Subusers/SubuserCreationService.php(+9 -1)📝
app/Services/Subusers/SubuserUpdateService.php(+12 -6)📄 Description
This makes sure a subuser can't create another subuser with more permissions than they have.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.