Skip to content

Commit

Permalink
Merged changes from cbrelease-4.8.14
Browse files Browse the repository at this point in the history
  • Loading branch information
karthik-tarento committed Jun 21, 2024
2 parents fb00643 + c320707 commit b171979
Showing 1 changed file with 36 additions and 28 deletions.
64 changes: 36 additions & 28 deletions src/utils/whitelistApis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3207,6 +3207,38 @@ export const API_LIST = {
ROLE.SPV_PUBLISHER,
],
},
// tslint:disable-next-line: all
'/proxies/v8/tenders/v4/read/:do_id': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.PUBLIC,
],
},
// tslint:disable-next-line: all
'/proxies/v8/tenders/v4/publish/:do_id': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.SPV_ADMIN,
],
},
// tslint:disable-next-line: all
'/proxies/v8/tenders/v4/create': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.SPV_ADMIN,
],
},
// tslint:disable-next-line: all
'/proxies/v8/tenders/v4/update/:do_id': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.SPV_ADMIN,
],
},
'/proxies/v8/user/assessment/v5/result': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
Expand Down Expand Up @@ -3467,34 +3499,6 @@ export const API_LIST = {
ROLE.MDO_ADMIN,
ROLE.CBP_ADMIN,
],
},
'/proxies/v8/tenders/v4/read/:do_id': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.PUBLIC,
],
},
'/proxies/v8/tenders/v4/publish/:do_id': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.SPV_ADMIN,
],
},
'/proxies/v8/tenders/v4/create': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.SPV_ADMIN,
],
},
'/proxies/v8/tenders/v4/update/:do_id': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.SPV_ADMIN,
],
},
'/proxies/v8/user/v2/bulkupload': {
checksNeeded: [CHECK.ROLE],
Expand Down Expand Up @@ -3936,6 +3940,10 @@ export const API_LIST = {
'/proxies/v8/playList/update',
'/proxies/v8/playList/search',
'/proxies/v8/playList/delete/:do_id',
'/proxies/v8/tenders/v4/read/:do_id',
'/proxies/v8/tenders/v4/publish/:do_id',
'/proxies/v8/tenders/v4/create',
'/proxies/v8/tenders/v4/update/:do_id',
'/proxies/v8/user/assessment/v5/result',
'/proxies/v8/user/assessment/v5/retake/:id',
'/protected/v8/user/evaluate/assessment/submit/v5',
Expand Down

0 comments on commit b171979

Please sign in to comment.