Students can now only get a student role during the student signup period.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/student.py Tue Feb 17 19:40:13 2009 +0000
+++ b/app/soc/views/models/student.py Tue Feb 17 20:07:20 2009 +0000
@@ -60,7 +60,7 @@
rights['delete'] = ['checkIsDeveloper']
rights['apply'] = [
'checkIsUser',
- ('checkIsActivePeriod', ['program', 'scope_path']),
+ ('checkIsActivePeriod', ['student_signup', 'scope_path']),
'checkIsNotParticipatingInProgramInScope',
]
rights['manage'] = [