Skip to content

Conversation

@eisbilir
Copy link
Member

@eisbilir eisbilir commented Jun 23, 2021

@nikolay83
this should fix #381 and #375

@maxceem
we need to allow not logged in users to use GET taas-teams/sendRoleSearchRequest endpoint, but we also need to see user details when this endpoint called by an authenticated user. To make it possible I had to add a new middleware at app-routes.js. Same as how it's done here: https://github.com/topcoder-platform/challenge-api/blob/develop/app-routes.js#L71-L94

Although this new middleware will only run for unprotected endpoints and almost all of the endpoints in taas-apis are protected, I think It would be good if you check this.

@eisbilir eisbilir requested a review from nikolay83 June 23, 2021 21:59
@nikolay83 nikolay83 merged commit 051608b into topcoder-platform:dev Jun 24, 2021
@eisbilir eisbilir deleted the role-api-fixes branch July 31, 2021 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

All the rates are not displayed to the internal users

2 participants