[PR #1486] [MERGED] Fix race condition with JWT group sync #17156

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1486
Author: @mlsmaycon
Created: 1/20/2024
Status: Merged
Merged: 1/20/2024
Merged by: @mlsmaycon

Base: mainHead: fix/race-condition-with-jwt-group-sync


📝 Commits (2)

  • 0350012 Fix race condition with JWT group sync
  • df35343 unlock earlier

📊 Changes

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

View changed files

📝 management/server/account.go (+15 -1)

📄 Description

Describe your changes

This PR fixes the issue that caused JWT group membership not to be stored, therefore causing many event logs and inconsistency.

#1470

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/1486 **Author:** [@mlsmaycon](https://github.com/mlsmaycon) **Created:** 1/20/2024 **Status:** ✅ Merged **Merged:** 1/20/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/race-condition-with-jwt-group-sync` --- ### 📝 Commits (2) - [`0350012`](https://github.com/netbirdio/netbird/commit/03500121603ea0d4a5b68a565b692e6186473e33) Fix race condition with JWT group sync - [`df35343`](https://github.com/netbirdio/netbird/commit/df353437e44897c6c9c0fd71edc8738f2d082737) unlock earlier ### 📊 Changes **1 file changed** (+15 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+15 -1) </details> ### 📄 Description ## Describe your changes This PR fixes the issue that caused JWT group membership not to be stored, therefore causing many event logs and inconsistency. ## Issue ticket number and link #1470 ### 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 04: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#17156