You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a module is deleted, ALL of its associated lessons and submissions should be deleted. In the database level, deleting a module should result in the automatic deletion of the lessons AND submissions. This can be done if you set DELETE CASCADE on the modules table as explained here
The lesson documents and submission documents associated with the module should be permanently deleted from the server as what's done in Allow a teacher/admin to delete a lesson #30
Ensure that users can confirm Yes/No if they REALLY want to delete the module (after clicking the Delete button). Please also mention that deleting this module will result in the deletion of all of its associated lessons and submissions and the action cannot be reversed
Upon deletion, the user should be redirected to the current module list page with a message "Module has been deleted" (if successful) or show an error message if unsuccessful
The text was updated successfully, but these errors were encountered:
amellie
changed the title
Allow admin/teacher to edit or delete a module
Allow admin/teacher to delete a module
Jul 12, 2022
Dependency
Depends on #21 and #27
Story
As a Teacher or an Admin
I Want to delete an existing module
So That I can keep the modules up to date
Acceptance Criteria
The text was updated successfully, but these errors were encountered: