[PR #1289] [MERGED] Extend AccountManager with external cache and group/user management methods #15169

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1289
Author: @surik
Created: 11/6/2023
Status: Merged
Merged: 11/13/2023
Merged by: @surik

Base: mainHead: yury/extend-am-to-create-external-users-groups


📝 Commits (2)

  • 139f224 Extend AccountManager with external cache and group/user management methods
  • 3b73b54 Lookup external cache when return user info on SaveUser

📊 Changes

4 files changed (+217 additions, -19 deletions)

View changed files

📝 management/server/account.go (+28 -9)
📝 management/server/mock_server/account_mock.go (+31 -5)
📝 management/server/user.go (+64 -4)
📝 management/server/user_test.go (+94 -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/1289 **Author:** [@surik](https://github.com/surik) **Created:** 11/6/2023 **Status:** ✅ Merged **Merged:** 11/13/2023 **Merged by:** [@surik](https://github.com/surik) **Base:** `main` ← **Head:** `yury/extend-am-to-create-external-users-groups` --- ### 📝 Commits (2) - [`139f224`](https://github.com/netbirdio/netbird/commit/139f22492f1771cd063f0ec2eeb6cf3957aa16bd) Extend AccountManager with external cache and group/user management methods - [`3b73b54`](https://github.com/netbirdio/netbird/commit/3b73b5455e6d64c87966d7e6a3a315941c274276) Lookup external cache when return user info on SaveUser ### 📊 Changes **4 files changed** (+217 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+28 -9) 📝 `management/server/mock_server/account_mock.go` (+31 -5) 📝 `management/server/user.go` (+64 -4) 📝 `management/server/user_test.go` (+94 -1) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] 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:07:06 -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#15169