Skip to content
This repository was archived by the owner on Jun 29, 2021. It is now read-only.

An authenticated user can delete a question #30

Closed
josepostiga opened this issue Oct 3, 2020 · 1 comment · Fixed by #50
Closed

An authenticated user can delete a question #30

josepostiga opened this issue Oct 3, 2020 · 1 comment · Fixed by #50
Assignees
Labels
story New feature

Comments

@josepostiga
Copy link
Member

josepostiga commented Oct 3, 2020

Scenario

Given I'm an authenticated user of any type
When I send a DELETE request to /discussions/questions/{questionId} and the question was created by me
I expect that question to be soft-deleted

Given I'm an authenticated user of type admin
When I send a DELETE request to /discussions/questions/{questionId}
I expect that question to be soft-deleted

Additional requirements

This builds on the features of #25.

@josepostiga josepostiga added the story New feature label Oct 3, 2020
@tiagof
Copy link
Collaborator

tiagof commented Oct 14, 2020

Hi @josepostiga I'll take this one together with #27

@tiagof tiagof linked a pull request Oct 26, 2020 that will close this issue
tiagof added a commit that referenced this issue Oct 28, 2020
* Update CHANGELOG.md

* added delete question

* Change parameter order to align with project style
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
story New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants