change permissions
This commit is contained in:
@@ -76,7 +76,7 @@ const sidebarMenu = [
|
||||
route: "/dashboard/reserve-loan",
|
||||
icon: <RepartitionIcon sx={{width: 'inherit', height: 'inherit'}}/>,
|
||||
selected: false,
|
||||
permissions: ["manage_machinery_navgan"],
|
||||
permissions: ["manage_reserved_loans"],
|
||||
},
|
||||
{
|
||||
key: "sidebar.passenger-boss",
|
||||
@@ -117,7 +117,7 @@ const sidebarMenu = [
|
||||
route: "/dashboard/bank-management",
|
||||
icon: <AccountBalanceIcon sx={{width: 'inherit', height: 'inherit'}}/>,
|
||||
selected: false,
|
||||
permissions: ["manage_bank_referred_loans"],
|
||||
permissions: ["tracking_bank_loans"],
|
||||
},
|
||||
{
|
||||
key: "sidebar.navgan-loan-management",
|
||||
|
||||
@@ -15,7 +15,7 @@ export async function getServerSideProps({req, locale}) {
|
||||
title: "Dashboard.bank_management_page",
|
||||
isBot,
|
||||
locale,
|
||||
layout: {name: 'DashboardLayout', props: {permissions: ["manage_bank_referred_loans"]}}
|
||||
layout: {name: 'DashboardLayout', props: {permissions: ["tracking_bank_loans"]}}
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ export async function getServerSideProps({req, locale}) {
|
||||
title: "Dashboard.reserve_loans",
|
||||
isBot,
|
||||
locale,
|
||||
layout: {name: 'DashboardLayout', props: {permissions: ["manage_machinery_navgan"]}}
|
||||
layout: {name: 'DashboardLayout', props: {permissions: ["manage_reserved_loans"]}}
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user