Skip to content

Role api fixes #384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2021
Merged

Role api fixes #384

merged 2 commits into from
Jun 24, 2021

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