fix(dm): corrected the permissions needed to view this page
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user