app/soc/views/models/club.py
changeset 1184 bd9c6101d41d
parent 1163 d8c50be19232
child 1189 14357ec13647
--- a/app/soc/views/models/club.py	Mon Feb 02 15:39:22 2009 +0000
+++ b/app/soc/views/models/club.py	Mon Feb 02 16:03:21 2009 +0000
@@ -65,8 +65,8 @@
     rights['list'] = ['checkIsDeveloper']
     rights['apply_member'] = ['checkIsUser',
                               ('checkIsActive', club_logic.logic)]
-    rights['list_requests'] = [('checkHasRole', club_admin_logic.logic)]
-    rights['list_roles'] = [('checkHasRole', club_admin_logic.logic)]
+    rights['list_requests'] = [('checkHasRole', [club_admin_logic.logic, 'link_id'])]
+    rights['list_roles'] = [('checkHasRole', [club_admin_logic.logic, 'link_id'])]
     rights['applicant'] = [('checkIsApplicationAccepted',
                             club_app_logic.logic)]