From 5e5a86cb318e203fc8dc7573775bbc165a5f2b94 Mon Sep 17 00:00:00 2001 From: Ravi Lodhi Date: Wed, 6 Dec 2023 18:05:24 +0530 Subject: [PATCH] Improved: Used 'RECEIVING_ADMIN' permission instead of 'COMMON_ADMIN' and 'FULFILL_SHIPMENT_ADMIN' for various actions. --- 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 23716d04..b434043c 100644 --- a/src/authorization/Rules.ts +++ b/src/authorization/Rules.ts @@ -5,6 +5,6 @@ export default { 'APP_PURCHASEORDER_DETAIL_VIEW': '', 'APP_RETURNS_VIEW': '', 'APP_RETURN_DETAIL_VIEW': '', - 'APP_SHIPMENT_UPDATE': 'COMMON_ADMIN', - 'APP_SHIPMENT_ADMIN': 'FULFILL_SHIPMENT_ADMIN', + 'APP_SHIPMENT_UPDATE': 'RECEIVING_ADMIN', + 'APP_SHIPMENT_ADMIN': 'RECEIVING_ADMIN', } as any