Closed
Description
Expected behavior
On the Resources
tab for a challenge, we will add a new column to all tables that has a delete button (this can just be the trash can icon).
When the user clicks the button, they will get a popup that says:
Are you sure you want to remove {handle} from this challenge?
Yes
will remove the member
No
will close the popup
Deleting a resource
A resource can be deleted by DELETE to https://api.topcoder-dev.com/v5/resources
Sample body:
{
"challengeId":"b9b5a9fb-9d74-4880-aeea-1e3fe4975739",
"roleId":"cfe12b3f-2a24-4639-9d8b-ec86726f76bd",
"memberHandle":"TCConnCopilot"
}
Security
The delete button and functionality should only be allowed for:
- Any copilot role on the challenge
- Any manager role on the challenge
- Global admins
Metadata
Metadata
Assignees
Labels
No labels