add admin management
This commit is contained in:
@@ -454,14 +454,6 @@ export const pageMenu = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "damageItems",
|
||||
label: "آیتم خسارات",
|
||||
type: "page",
|
||||
route: "/dashboard/damage-items",
|
||||
icon: <GppMaybeIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: ["manage-damage"],
|
||||
},
|
||||
{
|
||||
id: "damagesManagmentReport",
|
||||
label: "گزارش ها",
|
||||
@@ -489,27 +481,44 @@ export const pageMenu = [
|
||||
permissions: ["azmayesh-type-management"],
|
||||
},
|
||||
{
|
||||
id: "permissionItem",
|
||||
label: "سطح دسترسی ها",
|
||||
type: "page",
|
||||
route: "/dashboard/permissions",
|
||||
icon: <LockPersonIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: ["manage-permissions"],
|
||||
},
|
||||
{
|
||||
id: "userActivities",
|
||||
label: "انواع فعالیت کاربران",
|
||||
type: "page",
|
||||
route: "/dashboard/user-activities",
|
||||
icon: <AssignmentLateIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: ["manage-log-list"],
|
||||
},
|
||||
{
|
||||
id: "CarDetails",
|
||||
label: "اطلاعات خودرو",
|
||||
type: "page",
|
||||
route: "/dashboard/car-details",
|
||||
icon: <DriveEtaIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: [""],
|
||||
},
|
||||
id: "adminManagement",
|
||||
label: "مدیریت سامانه",
|
||||
type: "menu",
|
||||
icon: <AdminPanelSettingsIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
hasSubitems: true,
|
||||
Subitems: [
|
||||
{
|
||||
id: "permissionItem",
|
||||
label: "سطح دسترسی ها",
|
||||
type: "page",
|
||||
route: "/dashboard/permissions",
|
||||
icon: <LockPersonIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: ["manage-permissions"],
|
||||
},
|
||||
{
|
||||
id: "userActivities",
|
||||
label: "انواع فعالیت کاربران",
|
||||
type: "page",
|
||||
route: "/dashboard/user-activities",
|
||||
icon: <AssignmentLateIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: ["manage-log-list"],
|
||||
},
|
||||
{
|
||||
id: "damageItems",
|
||||
label: "آیتم خسارات وارده بر ابنیه فنی",
|
||||
type: "page",
|
||||
route: "/dashboard/damage-items",
|
||||
icon: <GppMaybeIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: ["manage-damage"],
|
||||
},
|
||||
{
|
||||
id: "CarDetails",
|
||||
label: "اطلاعات خودرو",
|
||||
type: "page",
|
||||
route: "/dashboard/car-details",
|
||||
icon: <DriveEtaIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: [""],
|
||||
},
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user