mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Restrict access to specific management sections for directors
Update Sidebar component to remove 'directeur' role access for '/suppliers' and '/groups' paths. Replit-Commit-Author: Agent Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/kdCs97W
This commit is contained in:
1 parent
ee94580c4f
commit
8e6f59e88a
1 file changed
+2
-2
@@ -126,13 +126,13 @@ export default function Sidebar() {
|
||||
path: "/suppliers",
|
||||
label: "Fournisseurs",
|
||||
icon: Building,
|
||||
roles: ["admin", "directeur"]
|
||||
roles: ["admin"]
|
||||
},
|
||||
{
|
||||
path: "/groups",
|
||||
label: "Magasins",
|
||||
icon: Users,
|
||||
roles: ["admin", "directeur"]
|
||||
roles: ["admin"]
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user