-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3173 from HHS/OPS-3111/add-procurement-team-role
Ops 3111/add procurement team role
- Loading branch information
Showing
7 changed files
with
73 additions
and
5 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 |
---|---|---|
|
@@ -281,6 +281,46 @@ | |
"GET_UPLOAD_DOCUMENT", | ||
"POST_UPLOAD_DOCUMENT" | ||
] | ||
}, | ||
{ // 6 Procurement Team Member | ||
name: "PROCUREMENT_TEAM", | ||
permissions: [ | ||
"GET_AGREEMENT", | ||
|
||
"GET_BUDGET_LINE_ITEM", | ||
|
||
"GET_SERVICES_COMPONENT", | ||
|
||
"GET_BLI_PACKAGE", | ||
|
||
"GET_CAN", | ||
|
||
"GET_DIVISION", | ||
|
||
"GET_NOTIFICATION", | ||
"PUT_NOTIFICATION", | ||
"PATCH_NOTIFICATION", | ||
|
||
"GET_PORTFOLIO", | ||
|
||
"GET_RESEARCH_PROJECT", | ||
|
||
"GET_USER", | ||
"PUT_USER", | ||
"PATCH_USER", | ||
|
||
"GET_HISTORY", | ||
|
||
"GET_WORKFLOW", | ||
|
||
"GET_CHANGE_REQUEST", | ||
|
||
"GET_CHANGE_REQUEST_REVIEW", | ||
|
||
"GET_UPLOAD_DOCUMENT", | ||
"POST_UPLOAD_DOCUMENT", | ||
"PATCH_UPLOAD_DOCUMENT" | ||
], | ||
} | ||
], | ||
ops_user: [ | ||
|
@@ -494,7 +534,6 @@ | |
email: "[email protected]", | ||
oidc_id: "00000000-0000-1111-a111-000000000021", | ||
roles: [{"tablename": "role", "id": 4}, {"tablename": "role", "id": 5}], | ||
groups: [], | ||
status: "ACTIVE" | ||
}, | ||
{ // 524 | ||
|
@@ -503,7 +542,6 @@ | |
division: 1, | ||
email: "[email protected]", | ||
roles: [{"tablename": "role", "id": 2}], | ||
groups: [], | ||
status: "ACTIVE" | ||
}, | ||
{ // 525 | ||
|
@@ -513,7 +551,6 @@ | |
email: "[email protected]", | ||
roles: [{"tablename": "role", "id": 3}], | ||
oidc_id: "00000000-0000-1111-a111-000000000022", | ||
groups: [], | ||
status: "ACTIVE" | ||
}, | ||
{ // 526 | ||
|
@@ -536,6 +573,15 @@ | |
email: "[email protected]", | ||
roles: [{"tablename": "role", "id": 1}, {"tablename": "role", "id": 4}, {"tablename": "role", "id": 5}], | ||
status: "ACTIVE" | ||
}, | ||
{ // 529 | ||
first_name: "Procurement", | ||
last_name: "Team", | ||
division: 1, | ||
email: "[email protected]", | ||
oidc_id: "00000000-0000-1111-a111-000000000027", | ||
roles: [{"tablename": "role", "id": 6}], | ||
status: "ACTIVE" | ||
} | ||
], | ||
notification: [ | ||
|
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 |
---|---|---|
|
@@ -37,6 +37,12 @@ def __init__( | |
"email": "[email protected]", | ||
"sub": "00000000-0000-1111-a111-000000000019", | ||
}, | ||
"procurement_team": { | ||
"given_name": "Procurement", | ||
"family_name": "Team", | ||
"email": "[email protected]", | ||
"sub": "00000000-0000-1111-a111-000000000027", | ||
}, | ||
} | ||
|
||
def authenticate(self, auth_code): | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -525,6 +525,10 @@ export const roles = [ | |
{ | ||
id: 5, | ||
name: "BUDGET_TEAM" | ||
}, | ||
{ | ||
id: 6, | ||
name: "PROCUREMENT_TEAM" | ||
} | ||
]; | ||
|
||
|