fix(comments): added new role to put comments in
This commit is contained in:
@@ -7,7 +7,13 @@ export const Route = createFileRoute(
|
|||||||
)({
|
)({
|
||||||
beforeLoad: async () => {
|
beforeLoad: async () => {
|
||||||
const auth = await checkUserAccess({
|
const auth = await checkUserAccess({
|
||||||
allowedRoles: ["systemAdmin", "technician", "admin", "manager"],
|
allowedRoles: [
|
||||||
|
"systemAdmin",
|
||||||
|
"technician",
|
||||||
|
"admin",
|
||||||
|
"manager",
|
||||||
|
"supervisor",
|
||||||
|
],
|
||||||
moduleName: "siloAdjustments", // optional
|
moduleName: "siloAdjustments", // optional
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user