Closed
Description
In the TaaS Admin App we are have autocomplete functionality to show suggested members which we get from V3 Member Service. But unfortunately, Member Service doesn't allow to get suggestions to the Booking Manager users, see the issue in Admin App.
But Booking Manager is the main role in the TaaS ecosystem so we should resolve it.
To do so we would do the next thing:
- Create a proxy endpoint inside TaaS API
GET /v5/taas-teams/members-suggest/{fragment}
- This endpoint should be allowed to be called by users with roles
bookingmanager
oradministrator
. M2M token and Connect Manager should not be allowed to call it. - It should internally call Member Service endpoint
GET /v3/members/_suggest/{fragment}
by using the M2M token.
Update Swagger and Postman.