The owner of a question or answer can delete them if they are not important or validated
Description
Now only the course owner can delete a question or a response. But if the question owner or the course owner want to delete them, he can't. That why if the question isn't important or the response isn't validated by the course owner. The question owner or the response owner need to be able to delete them.
Proposal
- adding new permissions
- modification of the existing delete views in course.py
- Modification of template
List of tests
- permission for the question owner
- permission for the response owner
- method post to delete a question by the question owner
- method post to delete a response by the response owner
- method post to delete a question by a student
- method post to delete a response by a student
- presence of the delete button in the template