-
Notifications
You must be signed in to change notification settings - Fork 490
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[management] Refactor User JWT group sync (#2690)
* Refactor GetAccountIDByUserOrAccountID Signed-off-by: bcmmbaga <[email protected]> * sync user jwt group changes Signed-off-by: bcmmbaga <[email protected]> * propagate jwt group changes to peers Signed-off-by: bcmmbaga <[email protected]> * fix no jwt groups synced Signed-off-by: bcmmbaga <[email protected]> * fix tests and lint Signed-off-by: bcmmbaga <[email protected]> * Move the account peer update outside the transaction Signed-off-by: bcmmbaga <[email protected]> * move updateUserPeersInGroups to account manager Signed-off-by: bcmmbaga <[email protected]> * move event store outside of transaction Signed-off-by: bcmmbaga <[email protected]> * get user with update lock Signed-off-by: bcmmbaga <[email protected]> * Run jwt sync in transaction Signed-off-by: bcmmbaga <[email protected]> --------- Signed-off-by: bcmmbaga <[email protected]>
- Loading branch information
Showing
8 changed files
with
519 additions
and
176 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.