mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
[PR #748] [MERGED] Delete subuser on owner change #938
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/748
Author: @rmartinoscar
Created: 12/2/2024
Status: ✅ Merged
Merged: 12/4/2024
Merged by: @rmartinoscar
Base:
main← Head:fix/RemoveSubuserMathingOwner📝 Commits (2)
7cba147Delete subuser on owner changefd27ef1Move logic to Model📊 Changes
2 files changed (+41 additions, -0 deletions)
View changed files
📝
app/Models/Server.php(+12 -0)➕
database/migrations/2024_12_02_013000_remove_illegal_subusers.php(+29 -0)📄 Description
If a user that is a subuser on a server becomes owner its subuser should be deleted
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.