feat(prod roles): added in quality tech and plant manager
This commit is contained in:
@@ -15,6 +15,7 @@ const newProdRoles: any = [
|
|||||||
roles: ["Manufacturing\\IssueMaterial\\MaterialHandler"],
|
roles: ["Manufacturing\\IssueMaterial\\MaterialHandler"],
|
||||||
rolesLegacy: [3],
|
rolesLegacy: [3],
|
||||||
},
|
},
|
||||||
|
// production
|
||||||
{
|
{
|
||||||
name: "prodsupervisor",
|
name: "prodsupervisor",
|
||||||
description:
|
description:
|
||||||
@@ -26,6 +27,38 @@ const newProdRoles: any = [
|
|||||||
],
|
],
|
||||||
rolesLegacy: [3, 11, 41, 48, 49],
|
rolesLegacy: [3, 11, 41, 48, 49],
|
||||||
},
|
},
|
||||||
|
// quality
|
||||||
|
{
|
||||||
|
name: "qualityTechB",
|
||||||
|
description:
|
||||||
|
"Quality tech with blocking, planning, stock warehouse leader, waste, quality waste.",
|
||||||
|
roles: ["Quality\\Blocking\\ProcessAdmin"],
|
||||||
|
rolesLegacy: [3, 14, 45],
|
||||||
|
},
|
||||||
|
// logistics
|
||||||
|
|
||||||
|
// plant manager
|
||||||
|
{
|
||||||
|
name: "plantManager",
|
||||||
|
description:
|
||||||
|
"Quality tech with blocking, planning, stock warehouse leader, waste, quality waste.",
|
||||||
|
roles: [
|
||||||
|
"Quality\\ComplaintHandling\\ProcessAdmin",
|
||||||
|
"Manufacturing\\ProductionControlling\\ProcessAdmin",
|
||||||
|
"MasterData\\Manufacturing\\ProcessAdmin",
|
||||||
|
"Quality\\Blocking\\ProcessAdmin",
|
||||||
|
"Logistics\\InboundDeliveries\\ApiConsumer",
|
||||||
|
"MasterData\\Logistics\\ProcessAdmin",
|
||||||
|
"DemandManagement\\Order\\ProcessAdmin",
|
||||||
|
"Manufacturing\\IssueMaterial\\ProcessAdmin",
|
||||||
|
"Logistics\\Warehousing\\ProcessAdmin",
|
||||||
|
"Logistics\\OutboundDeliveries\\ProcessAdmin",
|
||||||
|
"DemandManagement\\Forecast\\ProcessAdmin",
|
||||||
|
"Manufacturing\\ProductionLabelling\\ProcessAdmin",
|
||||||
|
],
|
||||||
|
rolesLegacy: [4, 55, 145, 95, 45, 105, 65, 15, 125],
|
||||||
|
},
|
||||||
|
// regional
|
||||||
];
|
];
|
||||||
export const prodRoles = async () => {
|
export const prodRoles = async () => {
|
||||||
// get the roles
|
// get the roles
|
||||||
|
|||||||
Reference in New Issue
Block a user