app/soc/views/models/student.py
changeset 2922 6e373954bbf6
parent 2919 cb677410c0f1
child 2927 ac4f93519855
--- a/app/soc/views/models/student.py	Mon Sep 14 20:21:47 2009 +0200
+++ b/app/soc/views/models/student.py	Tue Sep 15 20:54:40 2009 +0200
@@ -29,6 +29,8 @@
 
 from soc.logic import cleaning
 from soc.logic import dicts
+from soc.logic.models import mentor as mentor_logic
+from soc.logic.models import org_admin as org_admin_logic
 from soc.logic.models import program as program_logic
 from soc.logic.models import student as student_logic
 from soc.logic.models import user as user_logic
@@ -66,7 +68,8 @@
         'checkIsUser',
         ('checkIsActivePeriod', 
          ['student_signup', 'scope_path', program_logic.logic]),
-        ('checkIsNotParticipatingInProgramInScope', [program_logic.logic]),
+        ('checkIsNotParticipatingInProgramInScope', [program_logic.logic,
+        student_logic.logic, org_admin_logic.logic, mentor_logic.logic]),
         ]
     rights['manage'] = [('checkIsMyActiveRole', student_logic.logic)]
     rights['list_projects'] = [