From 138fdb8553f03f1489d9873b5914e10f4f0f8ab8 Mon Sep 17 00:00:00 2001 From: Carson Full Date: Tue, 4 Jun 2024 13:25:36 -0500 Subject: [PATCH] Only RDs can bypass RD approval on multiplication projects --- .../authorization/policies/by-role/project-manager.policy.ts | 1 - .../authorization/policies/by-role/regional-director.policy.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/authorization/policies/by-role/project-manager.policy.ts b/src/components/authorization/policies/by-role/project-manager.policy.ts index 9fcc9209ea..e66c7b9a67 100644 --- a/src/components/authorization/policies/by-role/project-manager.policy.ts +++ b/src/components/authorization/policies/by-role/project-manager.policy.ts @@ -95,7 +95,6 @@ const stepsUntilFinancialEndorsement = takeWhile( ).execute, r.ProjectWorkflowEvent.read.transitions( 'Early Conversations -> Pending Regional Director Approval', - 'Early Conversations -> Pending Finance Confirmation', 'Early Conversations -> Pending Concept Approval', 'Early Conversations -> Did Not Develop', 'Prep for Consultant Endorsement -> Pending Consultant Endorsement', diff --git a/src/components/authorization/policies/by-role/regional-director.policy.ts b/src/components/authorization/policies/by-role/regional-director.policy.ts index b123dd271d..edf3669a8f 100644 --- a/src/components/authorization/policies/by-role/regional-director.policy.ts +++ b/src/components/authorization/policies/by-role/regional-director.policy.ts @@ -9,6 +9,7 @@ import { member, Policy, Role, sensMediumOrLower } from '../util'; (p) => p.rootDirectory.edit.when(sensMediumOrLower).read, ), r.ProjectWorkflowEvent.read.transitions( + 'Early Conversations -> Pending Finance Confirmation', 'Pending Concept Approval -> Prep for Consultant Endorsement', 'Pending Concept Approval -> Early Conversations', 'Pending Concept Approval -> Rejected',