--- 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 = {}