fix(dm): corrected the permissions needed to view this page

This commit is contained in:
2025-10-29 08:46:20 -05:00
parent 45dda3c40a
commit 8198c7a478

View File

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