autolab / Autolab

Course management service that enables auto-graded programming assignments.
http://www.autolabproject.com/
Apache License 2.0
757 stars 215 forks source link

Support expiration date for access code #2155

Open damianhxy opened 5 months ago

damianhxy commented 5 months ago

It would be good to support automatically disabling access codes after a certain date. That is, add a new date field to course config along the lines of access_code_until.

Some thoughts

Also, consider preserving the access code when exporting a course, i.e. add access_code to GENERAL_SERIALIZABLE in course.rb. However, it might make more sense to regenerate the access code (if one was set). In which case custom logic would be needed to persist the fact that an access code existed.