fix(silo adjustments): added supervisor to see the actual page so it matches the sidbard

This commit is contained in:
2025-11-19 18:42:37 -06:00
parent 33cbb17a0e
commit 9aa0b31278

View File

@@ -7,7 +7,13 @@ export const Route = createFileRoute("/_old/old/(logistics)/siloAdjustments/")({
component: RouteComponent,
beforeLoad: async () => {
const auth = await checkUserAccess({
allowedRoles: ["systemAdmin", "technician", "admin", "manager"],
allowedRoles: [
"systemAdmin",
"technician",
"admin",
"manager",
"supervisor",
],
moduleName: "siloAdjustments", // optional
});