Skip to content

Commit

Permalink
EXUI-2067 - Support PROFESSIONAL role categories from RAS (#3770)
Browse files Browse the repository at this point in the history
* EXUI-2067 - Support PROFESSIONAL role categories from RAS

* Suppression

---------

Co-authored-by: RiteshHMCTS <[email protected]>
  • Loading branch information
danlysiak and RiteshHMCTS committed Jul 31, 2024
1 parent f0c5a48 commit 061bcd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/roleAccess/exclusionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ export function mapRoleCategory(roleCategory: string): RoleCategory {
return RoleCategory.ADMIN;
case 'CTSC':
return RoleCategory.CTSC;
case 'PROFESSIONAL':
return RoleCategory.PROFESSIONAL;
default:
throw new Error('Invalid roleCategory');
}
Expand Down
1 change: 1 addition & 0 deletions api/roleAccess/models/allocate-role.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export enum RoleCategory {
LEGAL_OPERATIONS = 'LEGAL_OPERATIONS',
ADMIN = 'ADMIN',
CTSC = 'CTSC',
PROFESSIONAL = 'PROFESSIONAL',
}

export enum AllocateTo {
Expand Down

0 comments on commit 061bcd2

Please sign in to comment.