[PR #748] [MERGED] Delete subuser on owner change #938

Closed
opened 2026-02-04 19:03:59 +03:00 by OVERLORD · 0 comments
Owner

📋 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: mainHead: fix/RemoveSubuserMathingOwner


📝 Commits (2)

📊 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.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/748 **Author:** [@rmartinoscar](https://github.com/rmartinoscar) **Created:** 12/2/2024 **Status:** ✅ Merged **Merged:** 12/4/2024 **Merged by:** [@rmartinoscar](https://github.com/rmartinoscar) **Base:** `main` ← **Head:** `fix/RemoveSubuserMathingOwner` --- ### 📝 Commits (2) - [`7cba147`](https://github.com/pelican-dev/panel/commit/7cba14795b75ec21048cf7d186e00d45068f1cec) Delete subuser on owner change - [`fd27ef1`](https://github.com/pelican-dev/panel/commit/fd27ef104695762fdfc6596e1e232e2fdc68310b) Move logic to Model ### 📊 Changes **2 files changed** (+41 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `app/Models/Server.php` (+12 -0) ➕ `database/migrations/2024_12_02_013000_remove_illegal_subusers.php` (+29 -0) </details> ### 📄 Description If a user that is a subuser on a server becomes owner its subuser should be deleted --- <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 19:03:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#938