You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, our call to get the groups for launching a challenge returns all groups, not just the groups the user has access to
Currently
We're calling GET https://api.topcoder-dev.com/v5/groups with an Authorization header for the user
Change
I'm expecting we'll have to make a call like this, with the memberId and membershipType, but I want to make sure this will actually return the groups the user has access to. For TonyJ in dev, it returns an empty list.
I need to have a call that returns just the groups the current has access to so I can update the challenge-engine-UI to only show those instead of all groups. Please clarify what the request should look like.
Ideally speaking, the below end point should have been made robust to return the groups which the user has access to.
Currently, our call to get the groups for launching a challenge returns all groups, not just the groups the user has access to
Currently
We're calling GET
https://api.topcoder-dev.com/v5/groups
with anAuthorization
header for the userChange
I'm expecting we'll have to make a call like this, with the
memberId
andmembershipType
, but I want to make sure this will actually return the groups the user has access to. ForTonyJ
in dev, it returns an empty list.https://api.topcoder-dev.com/v5/groups?memberId=8547899&membershipType=group
Expectation
I need to have a call that returns just the groups the current has access to so I can update the challenge-engine-UI to only show those instead of all groups. Please clarify what the request should look like.
Ideally speaking, the below end point should have been made robust to return the groups which the user has access to.
The work around way by calling
/groups with memberId
is not robust and it lacks security checks IMHO.The text was updated successfully, but these errors were encountered: