[PR #2323] [MERGED] Remove redundant check for empty JWT groups #14984

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2323
Author: @bcmmbaga
Created: 7/25/2024
Status: Merged
Merged: 7/26/2024
Merged by: @mlsmaycon

Base: mainHead: fix/jwt-group-sync


📝 Commits (2)

  • a08d2a0 Remove redundant check for empty group names in SetJWTGroups
  • 5aadf34 add test

📊 Changes

2 files changed (+7 additions, -4 deletions)

View changed files

📝 management/server/account.go (+0 -4)
📝 management/server/account_test.go (+7 -0)

📄 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/2323 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 7/25/2024 **Status:** ✅ Merged **Merged:** 7/26/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/jwt-group-sync` --- ### 📝 Commits (2) - [`a08d2a0`](https://github.com/netbirdio/netbird/commit/a08d2a0f47f7983f9e88e952785fe6fcb76ee8aa) Remove redundant check for empty group names in SetJWTGroups - [`5aadf34`](https://github.com/netbirdio/netbird/commit/5aadf34766fce574e474f7735d4eb3488be3a927) add test ### 📊 Changes **2 files changed** (+7 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+0 -4) 📝 `management/server/account_test.go` (+7 -0) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link - [Unexpected behaviour when syncing groups from IdP(Zitadel)](https://github.com/netbirdio/netbird/issues/2322) ### 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:43 -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#14984