Closed
Description
When we call the endpoint to get a list of projects, the endpoint shouldn't return email
field for the members
, but it does return them for some projects:
The URL is GET https://api.topcoder-dev.com/v5/projects/?fields=id,name,description,members,status,type,actualPrice,estimatedPrice,createdAt,updatedAt,createdBy,updatedBy,details,lastActivityAt,lastActivityUserId,version,templateId&sort=lastActivityAt+desc&perPage=20&page=1
User which is used to reproduce it is pshah_manager
.
Project id on DEV: 8724
.
There two possible desired behaviors:
- don't return emails for members to any users
- return emails for members, but only to admins (with
administrator
Topcoder role only, NOT toConnect Admin
)
@vikasrohit which desired behavior you prefer?