From 5d82fe1876ee7acbadb9188aa73176fe767a0421 Mon Sep 17 00:00:00 2001 From: Ravi Lodhi Date: Tue, 8 Oct 2024 14:46:36 +0530 Subject: [PATCH 1/2] Improved: Added app base permission (#323). --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 1d799187..7f479ecb 100644 --- a/.env.example +++ b/.env.example @@ -5,7 +5,7 @@ VUE_APP_VIEW_SIZE=30 VUE_APP_PRDT_IDENT_TYPE_ID=SHOPIFY_PROD_SKU VUE_APP_ORD_IDENT_TYPE_ID=SHOPIFY_ORD_NAME VUE_APP_BASE_URL= -VUE_APP_PERMISSION_ID= +VUE_APP_PERMISSION_ID="BOPIS_APP_VIEW" VUE_APP_LOCALES={"en-US": "English", "ja-JP": "日本語", "es-ES": "Español"} VUE_APP_ALIAS= VUE_APP_CURRENCY_FORMATS={"en": {"currency": {"style": "currency","currency": "USD"}}, "ja": {"currency": {"style": "currency", "currency": "JPY"}}, "es": {"currency": {"style": "currency","currency": "ESP"}}} From a23e2df77acd9f252a5f8d79f0aaec6b4651f586 Mon Sep 17 00:00:00 2001 From: Ravi Lodhi Date: Tue, 8 Oct 2024 15:19:33 +0530 Subject: [PATCH 2/2] Improved: Added base permission in authorization rule (#323). --- src/authorization/Rules.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/authorization/Rules.ts b/src/authorization/Rules.ts index 2409983d..553910f8 100644 --- a/src/authorization/Rules.ts +++ b/src/authorization/Rules.ts @@ -7,5 +7,6 @@ export default { "APP_ORDER_UPDATE": "", "APP_RF_CONFIG_UPDATE": "COMMON_ADMIN", "APP_PARTIAL_ORDER_REJECTION_CONFIG_UPDATE": "COMMON_ADMIN", - "APP_STOREFULFILLMENT_ADMIN": "STOREFULFILLMENT_ADMIN" + "APP_STOREFULFILLMENT_ADMIN": "STOREFULFILLMENT_ADMIN", + "BOPIS_APP_VIEW": "BOPIS_APP_VIEW" } as any \ No newline at end of file