-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Stops local sys admin from creating national level staff (#8112)
* Move access mgnt into the gateway service It is better to have in the gateway since most of access mgnt is handled there already #7698 * refactor: the getSystemRoles() to propery use filters The way we were building the criteria object was buggy especially for when we are filtering based on user roles #7698 * Filter User roles based on user that's requesting This is avoid users with lower roles creating or updating other users with higher roles #7698 * Record changes in the CHANGELOG #7698 * Revert "Filter User roles based on user that's requesting" This reverts commit b46c67e. * Revert "refactor: the getSystemRoles() to propery use filters" This reverts commit fb400bd. * Revert "Move access mgnt into the gateway service" This reverts commit a9c6fa8. * Fix failing Role feature's resolver tests #7698 * Stop sys admins from de-activating themselves The sys admin will no longer see the feature for their own accounts, it will only available on other users, this should stop them from eccidentally deactivating their accounts. #7691 * Minor tisy up --------- Co-authored-by: euanmillar <euanmillar77@gmail.com>
- Loading branch information
1 parent
ef1308d
commit f684e12
Showing
9 changed files
with
160 additions
and
12 deletions.
There are no files selected for viewing
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
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
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
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
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