From 4d8dad67188adf6b71d2612a1aa673dae98c8f00 Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Wed, 21 Aug 2024 18:02:55 +0530 Subject: [PATCH 1/2] Improved: permission in job-manager to either have JOB_MANAGER_ADMIN permission or COMMON_ADMIN --- src/authorization/Rules.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/authorization/Rules.ts b/src/authorization/Rules.ts index 64e02dec..85608935 100644 --- a/src/authorization/Rules.ts +++ b/src/authorization/Rules.ts @@ -10,8 +10,8 @@ export default { "APP_INITIAL_LOAD_VIEW": "", "APP_MISC_VIEW": "", "APP_REPORT_VIEW": "", - "APP_BULK_EDITOR_VIEW": "COMMON_ADMIN", + "APP_BULK_EDITOR_VIEW": "COMMON_ADMIN OR JOB_MANAGER_ADMIN", "APP_JOB_VIEW": "", - "APP_JOB_UPDATE": "COMMON_ADMIN", - "APP_CUSTOM_FREQ_VIEW": "COMMON_ADMIN" + "APP_JOB_UPDATE": "COMMON_ADMIN OR JOB_MANAGER_ADMIN", + "APP_CUSTOM_FREQ_VIEW": "COMMON_ADMIN OR JOB_MANAGER_ADMIN" } as any \ No newline at end of file From 924b00527defa52197ce71ff8e4023d3570aa27c Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Fri, 8 Nov 2024 12:14:00 +0530 Subject: [PATCH 2/2] Update Rules.ts --- src/authorization/Rules.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/authorization/Rules.ts b/src/authorization/Rules.ts index 66d5185b..c2e67300 100644 --- a/src/authorization/Rules.ts +++ b/src/authorization/Rules.ts @@ -13,7 +13,7 @@ export default { "APP_BULK_EDITOR_VIEW": "COMMON_ADMIN OR JOB_MANAGER_ADMIN", "APP_JOB_VIEW": "", "APP_JOB_UPDATE": "COMMON_ADMIN OR JOB_MANAGER_ADMIN", - "APP_CUSTOM_FREQ_VIEW": "COMMON_ADMIN OR JOB_MANAGER_ADMIN" + "APP_CUSTOM_FREQ_VIEW": "COMMON_ADMIN OR JOB_MANAGER_ADMIN", "JOB_MANAGER_APP_VIEW": "JOB_MANAGER_APP_VIEW", "APP_COMMERCE_VIEW": "COMMERCEUSER_VIEW" -} as any \ No newline at end of file +} as any