app/soc/views/models/student_project.py
changeset 2152 3c3f0cd9873d
parent 2146 57c74ce47fa3
child 2154 a0a1594e58ae
--- a/app/soc/views/models/student_project.py	Sat Apr 11 13:19:23 2009 +0000
+++ b/app/soc/views/models/student_project.py	Sat Apr 11 13:32:35 2009 +0000
@@ -69,13 +69,13 @@
     rights['list'] = ['checkIsDeveloper']
     rights['manage'] = [('checkHasActiveRoleForScope',
                          org_admin_logic),
-        ('checkStudentProjectHasStatus', ['accepted', 'mid_term_passed'])]
+        ('checkStudentProjectHasStatus', [['accepted', 'mid_term_passed']])]
     rights['manage_overview'] = [('checkHasActiveRoleForScope',
                          org_admin_logic)]
     # TODO lack of better name here!
     rights['st_edit'] = ['checkIsMyStudentProject',
-        ('checkStudentProjectHasStatus', 
-            ['accepted', 'mid_term_passed', 'passed'])
+        ('checkStudentProjectHasStatus',
+            [['accepted', 'mid_term_passed', 'passed']])
         ]
 
     new_params = {}