From 136bf9820d6df837c1db37b4e38bcdd9375730d3 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Tue, 10 Jun 2025 16:23:47 -0500 Subject: [PATCH] feat(produser): added in prodSupervisor to the list --- server/services/prodUser/utils/prodRoles.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/server/services/prodUser/utils/prodRoles.ts b/server/services/prodUser/utils/prodRoles.ts index cac95bb..330e7c6 100644 --- a/server/services/prodUser/utils/prodRoles.ts +++ b/server/services/prodUser/utils/prodRoles.ts @@ -15,6 +15,17 @@ const newProdRoles: any = [ roles: ["Manufacturing\\IssueMaterial\\MaterialHandler"], rolesLegacy: [3], }, + { + name: "prodsupervisor", + description: + "Production supervisor, planning, labeling, and production contorlling.", + roles: [ + "Manufacturing\\IssueMaterial\\MaterialHandler", + "Manufacturing\\IssueMaterial\\ProcessAdmin", + "Manufacturing\\ProductionLabelling\\ProcessAdmin", + ], + rolesLegacy: [3, 11, 41, 48, 49], + }, ]; export const prodRoles = async () => { // get the roles