Skip to content
Extraits de code Groupes Projets
Valider 506b0389 rédigé par Mohamed Lemine BAILLAHI's avatar Mohamed Lemine BAILLAHI
Parcourir les fichiers

Merge branch 'feature/MS-133' into 'develop'

MS-133/add export configuration to some roles

Closes MS-133

See merge request !506
parents d4d1431f 77bd72ca
Branches
1 requête de fusion!506MS-133/add export configuration to some roles
......@@ -506,6 +506,16 @@ export function useNavData() {
},
],
},
{
subheader: "Configuration",
items: [
{
title : "Export",
path: paths.dashboard.export.root,
icon:ICONS.folder
}
],
},
];
} else if (userInfo?.realm_access?.roles?.includes("LIVE_MANAGER")) {
return [
......@@ -614,6 +624,16 @@ export function useNavData() {
},
],
},
{
subheader: "Configuration",
items: [
{
title : "Export",
path: paths.dashboard.export.root,
icon:ICONS.folder
}
],
},
];
} else if (
userInfo?.realm_access?.roles?.includes("GESTIONNAIRE_DE_PRECO")
......@@ -773,6 +793,16 @@ export function useNavData() {
},
],
},
{
subheader: "Configuration",
items: [
{
title : "Export",
path: paths.dashboard.export.root,
icon:ICONS.folder
}
],
},
];
} else if (userInfo?.realm_access?.roles?.includes("STOCK_MANAGER")) {
return [
......@@ -872,6 +902,16 @@ export function useNavData() {
},
],
},
{
subheader: "Configuration",
items: [
{
title : "Export",
path: paths.dashboard.export.root,
icon:ICONS.folder
}
],
},
];
} else if (userInfo?.realm_access?.roles?.includes("GESTIONNAIRE_RETOUR")) {
return [
......@@ -920,6 +960,16 @@ export function useNavData() {
},
],
},
{
subheader: "Configuration",
items: [
{
title : "Export",
path: paths.dashboard.export.root,
icon:ICONS.folder
}
],
},
];
} else if (userInfo?.realm_access?.roles?.includes("DRIVER")) {
return [
......
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter