# HG changeset patch # User Lennard de Rijk # Date 1234901240 0 # Node ID 293a14668dc99517725f2ada99546fa2140d4b30 # Parent 2cfce3831fc63b37f59aa19c502589cbae6afb44 Students can now only get a student role during the student signup period. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 2cfce3831fc6 -r 293a14668dc9 app/soc/views/models/student.py --- 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'] = [