Skip to content

Project List endpoint returns member email for some projects #488

Closed
@maxceem

Description

@maxceem

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:

image

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 to Connect Admin)

@vikasrohit which desired behavior you prefer?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions