From d605027270e7be4aa8469cb04ab4c6cb303ec806 Mon Sep 17 00:00:00 2001 From: dkttarento <138442957+dkttarento@users.noreply.github.com> Date: Thu, 28 Sep 2023 18:54:36 +0530 Subject: [PATCH] Update whitelistApis.ts Added Whitelist UI-Proxy for Blended Program/Unenrol -> URL_PATTERN , & API_LIST --- src/utils/whitelistApis.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/utils/whitelistApis.ts b/src/utils/whitelistApis.ts index 289e5685..11d71037 100644 --- a/src/utils/whitelistApis.ts +++ b/src/utils/whitelistApis.ts @@ -2283,6 +2283,13 @@ export const API_LIST = { ROLE.MDO_LEADER, ], }, + '/proxies/v8/workflow/blendedprogram/unenrol': { + checksNeeded: [CHECK.ROLE], + // tslint:disable-next-line: object-literal-sort-keys + ROLE_CHECK: [ + ROLE.PUBLIC, + ], + }, }, URL_PATTERN: [ @@ -2574,5 +2581,6 @@ export const API_LIST = { '/proxies/v8/workflow/blendedprogram/v1/stats', '/proxies/v8/storage/v1/report/:reportType/:date/:orgId/:fileName', '/proxies/v8/storage/v1/reportInfo/:orgId', + '/proxies/v8/workflow/blendedprogram/unenrol' ], }