Skip to content
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

(Soft) deletion of courses #4

Closed
krishnans2006 opened this issue Apr 4, 2024 · 0 comments · Fixed by #37
Closed

(Soft) deletion of courses #4

krishnans2006 opened this issue Apr 4, 2024 · 0 comments · Fixed by #37
Labels

Comments

@krishnans2006
Copy link
Member

Currently, courses cannot be deleted. This is because doing so would delete many assignments, submissions, quiz logs, etc. which are vital to keep for administrative purposes. Removing the on_delete=CASCADE for these relations is not a reasonable solution.

So, it would be nice to implement a "soft deletion" feature for courses. Teachers can be given an option to let students:

  • Access assignments/submissions and submit code (read-write)
  • Access assignments/submissions but not submit code (read-only)
  • Access nothing (the course appears deleted)

In all of these scenarios, the course should not show up on the home page as a normal course; instead, it could be put in a collapsed section for hidden courses (for both students and teachers). Teachers of the course (and administrators) should always be able to access and edit the course as needed.

Currently, some courses on Tin implement this functionality by removing all students from the course at the end of the year. This makes it difficult to easily access student code in the future, which is the main inspiration for this feature.

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

Successfully merging a pull request may close this issue.

1 participant