From a165abbf062d19dedadc65f17f7d254e271e94b9 Mon Sep 17 00:00:00 2001 From: Kelly Phan Date: Fri, 27 Dec 2024 14:46:53 +0100 Subject: [PATCH] fix: update permissions --- src/core/router/SettingRoutes.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/router/SettingRoutes.tsx b/src/core/router/SettingRoutes.tsx index abeb5574f..6968073fb 100644 --- a/src/core/router/SettingRoutes.tsx +++ b/src/core/router/SettingRoutes.tsx @@ -366,7 +366,6 @@ export const settingRoutes: CustomRouteObject[] = [ path: [CREATE_INVOICE_CUSTOM_SECTION, EDIT_INVOICE_CUSTOM_SECTION], private: true, element: , - // TODO: Add permissions - permissions: ['organizationInvoicesUpdate'], + permissions: ['invoiceCustomSectionsCreate', 'invoiceCustomSectionsUpdate'], }, ]