-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PIMS-2082 Backend Authorization Updates (#2679)
Co-authored-by: LawrenceLau2020 <[email protected]>
- Loading branch information
1 parent
2aa895d
commit 3afc60a
Showing
52 changed files
with
617 additions
and
456 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/** | ||
* @enum | ||
* The values in this enum must exactly mirror the names of the Keycloak roles. | ||
* The values in this enum must exactly mirror the IDs in the Role table. | ||
*/ | ||
export enum Roles { | ||
ADMIN = 'Administrator', | ||
GENERAL_USER = 'General User', | ||
AUDITOR = 'Auditor', | ||
ADMIN = '00000000-0000-0000-0000-000000000000', | ||
GENERAL_USER = '00000000-0000-0000-0000-000000000001', | ||
AUDITOR = '00000000-0000-0000-0000-000000000002', | ||
} |
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.