app/soc/views/models/club_app.py
changeset 1180 6290c9e49848
parent 1176 c211191e7d81
child 1200 e68fd70ba076
--- a/app/soc/views/models/club_app.py	Mon Feb 02 14:47:09 2009 +0000
+++ b/app/soc/views/models/club_app.py	Mon Feb 02 15:00:43 2009 +0000
@@ -50,10 +50,13 @@
 
     rights = access.Checker(params)
     rights['create'] = ['checkIsUser']
-    rights['delete'] = [('checkIsMyEntity', [club_app_logic.logic, 'applicant'])]
-    rights['edit'] = [('checkIsMyEntity', [club_app_logic.logic, 'applicant'])]
+    rights['delete'] = [('checkIsMyEntity',
+                         [club_app_logic.logic, 'applicant', True])]
+    rights['edit'] = [('checkIsMyEntity',
+                       [club_app_logic.logic, 'applicant', True])]
     rights['list'] = ['checkIsUser']
-    rights['public'] = [('checkIsMyEntity', [club_app_logic.logic, 'applicant'])]
+    rights['public'] = [('checkIsMyEntity',
+                         [club_app_logic.logic, 'applicant', True])]
     rights['review'] = [('checkHasRole', host_logic.logic)]
 
     new_params = {}