netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
11.24k stars 517 forks source link

[management] Refactor users to use store methods #2917

Open bcmmbaga opened 1 day ago

bcmmbaga commented 1 day ago

Describe your changes

Remove calls to get and save whole account in users and PATs operations.

Issue ticket number and link

Checklist

sonarcloud[bot] commented 19 hours ago

Quality Gate Failed Quality Gate failed

Failed conditions
2 New issues
2 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE