The owner of a course can delete a question or a response
Description
Now in the Agora, we can add new question or new responses but we can't delete it. The course owner must have the right to delete a question or answer that he or she finds inappropriate or irrelevant.
Proposal
-
Creation of the delete response view
-
Creation of the delete response URL
-
Creation of the delete response permission
-
Adding the buttons in the question detail template
-
Link the buttons with the URL
-
Creation of the delete question view
-
Creation of the delete question URL
-
Creation of the delete question permission
-
Adding the button in the different Agora templates
-
Link the buttons with the URL
Potential issues
The deletion of a question or answer by its owner
List of tests
- Presence of the button for the course owner
- Permission test
- Only the Course owner can delete a question or a response