Skip to content

Commit

Permalink
4.8.16 dev v2 (#443)
Browse files Browse the repository at this point in the history
* cios-enroll read api updated (#429)

* Added CRUD APIs for competency area, theme and subTheme

* KB-5808 | Q5 | Enhancement | MDO Channel | A consolidated level learner leaderboard based on Karma Points (#432)

1. Added the entry '/proxies/v8/halloffame/top/learners' to whitelist the user with the role as 'PUBLIC'.
2. Added the entry to the proxies_v8 to redirect to the Kong if the url is matched.

* added proxy configuration for wrapper apis

* changes for the top ten learner

* added proxy configuration for wrapper apis (#433)

* changes for top learner

* added proxy configuration for wrapper api

* 4.8.16 dev v2 (#437)

* added proxy configuration for wrapper apis

* added proxy configuration for wrapper api

---------

Co-authored-by: anilkumar <[email protected]>

* added ,

* added user v3 search api (#439)

* added user v3 search api

* added mdo roles

* added spv admin role for wrapper apis (#440)

Co-authored-by: anilkumar <[email protected]>

* Added  roles for playList create, update and delete APIs- CBPAdmin and Content creator (#441)

* corrected homefeed end point (#442)

---------

Co-authored-by: Arpitha <[email protected]>
Co-authored-by: ruksanasemeir <[email protected]>
Co-authored-by: Sharath Prasad <[email protected]>
Co-authored-by: tarentomaheshvakkund <[email protected]>
Co-authored-by: anil <[email protected]>
Co-authored-by: shankaragoudab <[email protected]>
Co-authored-by: anilkumarkammalapalli <[email protected]>
Co-authored-by: Haritest <[email protected]>
Co-authored-by: pathiktarento1089 <[email protected]>
Co-authored-by: anilkumar <[email protected]>
Co-authored-by: Sivaprakash Ramasamy <[email protected]>
Co-authored-by: ruksana2808 <[email protected]>
  • Loading branch information
13 people authored Jul 23, 2024
1 parent e24e45d commit 70f681b
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions src/utils/whitelistApis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3177,6 +3177,8 @@ export const API_LIST = {
ROLE.MDO_ADMIN,
ROLE.MDO_LEADER,
ROLE.SPV_PUBLISHER,
ROLE.CONTENT_CREATOR,
ROLE.CBP_ADMIN,
],
},
'/proxies/v8/playList/update': {
Expand All @@ -3188,6 +3190,7 @@ export const API_LIST = {
ROLE.MDO_LEADER,
ROLE.SPV_PUBLISHER,
ROLE.CONTENT_CREATOR,
ROLE.CBP_ADMIN,
],
},
'/proxies/v8/playList/search': {
Expand All @@ -3205,6 +3208,8 @@ export const API_LIST = {
ROLE.MDO_ADMIN,
ROLE.MDO_LEADER,
ROLE.SPV_PUBLISHER,
ROLE.CONTENT_CREATOR,
ROLE.CBP_ADMIN,
],
},
// tslint:disable-next-line: all
Expand Down Expand Up @@ -3431,6 +3436,8 @@ export const API_LIST = {
ROLE.MDO_ADMIN,
ROLE.MDO_LEADER,
ROLE.SPV_PUBLISHER,
ROLE.CONTENT_CREATOR,
ROLE.CBP_ADMIN,
],
},
'/proxies/v8/playList/v2/update': {
Expand All @@ -3442,6 +3449,7 @@ export const API_LIST = {
ROLE.MDO_LEADER,
ROLE.SPV_PUBLISHER,
ROLE.CONTENT_CREATOR,
ROLE.CBP_ADMIN,
],
},
'/proxies/v8/playList/v2/read/:id/:playListId/:orgId': {
Expand Down Expand Up @@ -3735,7 +3743,7 @@ export const API_LIST = {
ROLE.PUBLIC,
],
},
'/proxies/v8/mentoring/v1/mentees/sessions': {
'/proxies/v8/mentoring/v1/mentees/homeFeed': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
Expand Down Expand Up @@ -3985,22 +3993,40 @@ export const API_LIST = {
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.MDO_ADMIN,
ROLE.SPV_ADMIN,
],
},
'/proxies/v8/competencyTheme/create/term': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.MDO_ADMIN,
ROLE.SPV_ADMIN,
],
},
'/proxies/v8/designation/create/term': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.MDO_ADMIN,
ROLE.SPV_ADMIN,
],
},
'/proxies/v8/org/framework/read': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.MDO_ADMIN,
],
},
'/proxies/v8/user/v3/search': {
checksNeeded: [CHECK.ROLE],
// tslint:disable-next-line: object-literal-sort-keys
ROLE_CHECK: [
ROLE.MDO_ADMIN,
ROLE.MDO_LEADER,
],
},
},
URL_PATTERN:
[
Expand Down Expand Up @@ -4484,7 +4510,7 @@ export const API_LIST = {
'/proxies/v8/mentoring/v1/mentors/upcomingSessions/:id',
'/proxies/v8/mentoring/v1/feedback/submit/:id',
'/proxies/v8/mentoring/v1/cloud-services/getSignedUrl',
'/proxies/v8/mentoring/v1/mentees/sessions',
'/proxies/v8/mentoring/v1/mentees/homeFeed',
'/proxies/v8/mentoring/v1/users/list',
'/proxies/v8/ciosIntegration/v1/loadContentProgressFromExcel',
'/proxies/v8/cios-enroll/v1/create',
Expand Down Expand Up @@ -4519,6 +4545,8 @@ export const API_LIST = {
'/proxies/v8/halloffame/top/learners',
'/proxies/v8/competencySubTheme/create/term',
'/proxies/v8/competencyTheme/create/term',
'/proxies/v8/designation/create/term'
'/proxies/v8/designation/create/term',
'/proxies/v8/org/framework/read',
'/proxies/v8/user/v3/search',
],
}

0 comments on commit 70f681b

Please sign in to comment.