[PR #2410] [MERGED] [management] Prevent removal of All group from peers during user groups propagation #15105

Closed
opened 2026-08-05 03:06:59 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2410
Author: @bcmmbaga
Created: 8/9/2024
Status: Merged
Merged: 8/12/2024
Merged by: @bcmmbaga

Base: mainHead: fix/all-group-propagation


📝 Commits (3)

  • 970d87d Prevent removal of "All" group from peers
  • 218673b Prevent adding "All" group to users and setup keys
  • b044d8d Refactor setup key group validation

📊 Changes

4 files changed (+59 additions, -11 deletions)

View changed files

📝 management/server/account.go (+1 -1)
📝 management/server/setupkey.go (+19 -4)
📝 management/server/setupkey_test.go (+34 -5)
📝 management/server/user.go (+5 -1)

📄 Description

Describe your changes

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/2410 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 8/9/2024 **Status:** ✅ Merged **Merged:** 8/12/2024 **Merged by:** [@bcmmbaga](https://github.com/bcmmbaga) **Base:** `main` ← **Head:** `fix/all-group-propagation` --- ### 📝 Commits (3) - [`970d87d`](https://github.com/netbirdio/netbird/commit/970d87df38283cb5c9e806753031b3d6ce5f4ee9) Prevent removal of "All" group from peers - [`218673b`](https://github.com/netbirdio/netbird/commit/218673b012c22048f357a81788c3fbc39e89af98) Prevent adding "All" group to users and setup keys - [`b044d8d`](https://github.com/netbirdio/netbird/commit/b044d8d7cfddc1fd5699e08f5d70e7f9126774d5) Refactor setup key group validation ### 📊 Changes **4 files changed** (+59 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+1 -1) 📝 `management/server/setupkey.go` (+19 -4) 📝 `management/server/setupkey_test.go` (+34 -5) 📝 `management/server/user.go` (+5 -1) </details> ### 📄 Description ## Describe your changes ## 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 03:06:59 -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#15105