adamcik / plan

Timetable generator
http://ntnu.1024.no/
Other
51 stars 9 forks source link

Add user foreign key to students #27

Closed adamcik closed 12 years ago

adamcik commented 14 years ago

Add a NULLable foreign key from student to users. When this key is set the schedule is considered protected.

Only user who can authenticate as the correct user for the locked schedule can edit it. If view access should be equally restricted needs to be decided.

Users should '''only''' be allowed to lock schedules where {{{ username == slug }}}, this should save us the trouble of having to solve disputes over schedule names.

adamcik commented 14 years ago

Foreign key is in place, but nothing else.

adamcik commented 12 years ago

Dependence on django.contrib.auth has been removed as it and the admin backend have been ripped out.