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

course: strongly discourage students from moving/renaming/deleting folders that were created by the course management system #8063

Open
williamstein opened this issue Dec 15, 2024 · 0 comments
Labels

Comments

@williamstein
Copy link
Contributor

In a course project, various folders get created, e.g., for assignments, handouts, peer grading, returned assignments etc. Students have the technical power to rename, move, delete, etc. any of those files, and that will always be the case, because they can execute arbitrarily shell commands in their project, e.g., in a terminal. However, CoCalc could at least discourage them from doing so via our graphical UI.

Right now there is nothing in place to facilitate this. However, here's one idea:

  • When a course pushing out an assignment (etc), include a hidden file, e.g., .course at the top level of the folder.
  • When doing the move and delete file actions, check if the project is a course project (i.e., this is in the database). If this is the case, do a little extra work to see if the move or delete action will impact any .course files. If so, display a warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant