-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BED-5060: Prevent user from changing their own role/auth (#984)
* BED-5060: Add check for if user is attempting to edit their own role/SSO * BED-5060: Disable editing roles and auth method for oneself in UI * BED-5060: Finished implementation of roles/sso guarding Fix bug where user's password could get deleted Fix bug with GetAuthSecret not returning errnotfound * BED-5060: run prepare-for-codereview * BED-5060: Fix API tests * refactor: ensure audit secret audit logs are maintained * BED-5060: add tests for new errors on the API Adjust update user form to hide fields * BED-5060: Fix whitespace * BED-5060: Remove extraneous admin password --------- Co-authored-by: Mistah J <[email protected]>
- Loading branch information
Showing
10 changed files
with
208 additions
and
191 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
Oops, something went wrong.