app/soc/views/models/club.py
changeset 1203 38225f2ad3a6
parent 1189 14357ec13647
child 1205 2e88261aba72
--- a/app/soc/views/models/club.py	Tue Feb 03 14:19:51 2009 +0000
+++ b/app/soc/views/models/club.py	Tue Feb 03 15:18:40 2009 +0000
@@ -58,15 +58,15 @@
 
     rights = access.Checker(params)
     rights['create'] = ['checkIsDeveloper']
-    rights['edit'] = [('checkHasRole', [club_admin_logic.logic, 'link_id']),
+    rights['edit'] = [('checkHasActiveRole', [club_admin_logic.logic, 'link_id']),
                       ('checkIsActive', [club_logic.logic, None])]
     rights['delete'] = ['checkIsDeveloper']
     rights['home'] = ['allow']
     rights['list'] = ['checkIsDeveloper']
     rights['apply_member'] = ['checkIsUser',
                               ('checkIsActive', club_logic.logic)]
-    rights['list_requests'] = [('checkHasRole', [club_admin_logic.logic, 'link_id'])]
-    rights['list_roles'] = [('checkHasRole', [club_admin_logic.logic, 'link_id'])]
+    rights['list_requests'] = [('checkHasActiveRole', [club_admin_logic.logic, 'link_id'])]
+    rights['list_roles'] = [('checkHasActiveRole', [club_admin_logic.logic, 'link_id'])]
     rights['applicant'] = [('checkIsApplicationAccepted',
                             club_app_logic.logic)]