Skip to content

Commit d7279f2

Browse files
committed
add program manager, project manager, and solution architect roles to whom can activate project
1 parent fc272ce commit d7279f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/routes/projects/update.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ module.exports = [
221221
const members = req.context.currentProjectMembers;
222222
const validRoles = [
223223
PROJECT_MEMBER_ROLE.MANAGER,
224-
PROJECT_MEMBER_ROLE.MANAGER,
224+
PROJECT_MEMBER_ROLE.PROGRAM_MANAGER,
225+
PROJECT_MEMBER_ROLE.PROJECT_MANAGER,
226+
PROJECT_MEMBER_ROLE.SOLUTION_ARCHITECT,
225227
].map(x => x.toLowerCase());
226228
const matchRole = role => _.indexOf(validRoles, role.toLowerCase()) >= 0;
227229
if (updatedProps.status === PROJECT_STATUS.ACTIVE &&

0 commit comments

Comments
 (0)