[PR #1825] [MERGED] Allow owners that did not create the account to delete it #14313

Closed
opened 2026-08-05 02:09:46 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1825
Author: @mlsmaycon
Created: 4/10/2024
Status: Merged
Merged: 4/11/2024
Merged by: @mlsmaycon

Base: mainHead: fix/allow-owner-non-creator-delete-acc


📝 Commits (1)

  • c36517a Allow owners that did not create the account to delete it

📊 Changes

1 file changed (+13 additions, -13 deletions)

View changed files

📝 management/server/account.go (+13 -13)

📄 Description

Describe your changes

Sometimes the Owner role will be passed to new users, and they need to be able to delete the account

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/1825 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 4/10/2024 **Status:** ✅ Merged **Merged:** 4/11/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/allow-owner-non-creator-delete-acc` --- ### 📝 Commits (1) - [`c36517a`](https://github.com/netbirdio/netbird/commit/c36517ae3e7c760f2c32de7f0854eca3619a45b3) Allow owners that did not create the account to delete it ### 📊 Changes **1 file changed** (+13 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+13 -13) </details> ### 📄 Description ## Describe your changes Sometimes the Owner role will be passed to new users, and they need to be able to delete the account ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:09:46 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#14313