Skip to content

Commit

Permalink
[UTOPIA-1322] [UTOPIA-1321] CPO movements and MPO restrictions update…
Browse files Browse the repository at this point in the history
… from Final Review status
  • Loading branch information
kushal-arora-fw committed Jul 28, 2023
1 parent a319f2b commit 6914c5e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/backend/src/modules/pia-intake/metadata/pia-status.metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ export const piaStatusMetadata: Partial<
accessType: [UserTypesEnum.MPO],
piaType: [PiaTypesEnum.DELEGATE_REVIEW],
},
{
accessType: [UserTypesEnum.CPO],
},
],
actions: [
{
Expand All @@ -248,6 +251,9 @@ export const piaStatusMetadata: Partial<
accessType: [UserTypesEnum.MPO],
piaType: [PiaTypesEnum.DELEGATE_REVIEW],
},
{
accessType: [UserTypesEnum.CPO],
},
],
actions: [
{
Expand All @@ -264,6 +270,18 @@ export const piaStatusMetadata: Partial<
accessType: [UserTypesEnum.MPO],
piaType: [PiaTypesEnum.DELEGATE_REVIEW],
},
{
accessType: [UserTypesEnum.CPO],
},
],
},
[PiaIntakeStatusEnum.CPO_REVIEW]: {
allow: true,
conditions: [
{
accessType: [UserTypesEnum.CPO],
piaType: [PiaTypesEnum.STANDARD],
},
],
},
[PiaIntakeStatusEnum.COMPLETE]: {
Expand Down

0 comments on commit 6914c5e

Please sign in to comment.