Skip to content

Allow submitters to delete their own submissions #288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jmgasper opened this issue Aug 9, 2022 · 0 comments
Closed

Allow submitters to delete their own submissions #288

jmgasper opened this issue Aug 9, 2022 · 0 comments

Comments

@jmgasper
Copy link
Collaborator

jmgasper commented Aug 9, 2022

We have added back in the ability for designers to delete their submissions (topcoder-platform/community-app#6602)

This functionality is in the community app now, but isn't currently working because the DELETE to https://api.topcoder-dev.com/v5/submissions/{submission ID} is returning a message like:

403
{
    "message": "You are not allowed to perform this action!"
}

We should allow submitters to delete their own submissions.

Validation

  • After this fix, the dev community app should allow members to delete their own submissions
  • Attempting to delete a submission that's not owned by a member should still fail

Test

Please ensure there is test coverage added of the cases above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant