app/soc/views/models/club_member.py
changeset 1248 f318538394d9
parent 1203 38225f2ad3a6
child 1307 091a21cf3627
--- a/app/soc/views/models/club_member.py	Sat Feb 07 22:47:51 2009 +0000
+++ b/app/soc/views/models/club_member.py	Sat Feb 07 22:49:51 2009 +0000
@@ -51,13 +51,13 @@
 
     rights = access.Checker(params)
     rights['create'] = ['checkIsDeveloper']
-    rights['edit'] = [('checkHasActiveRole', club_admin_logic.logic)]
+    rights['edit'] = [('checkHasActiveRoleForScope', club_admin_logic.logic)]
     rights['delete'] = ['checkIsDeveloper']
-    rights['invite'] = [('checkHasActiveRole', club_admin_logic.logic)]
+    rights['invite'] = [('checkHasActiveRoleForScope', club_admin_logic.logic)]
     rights['accept_invite'] = [('checkCanCreateFromRequest','club_member')]
     rights['request'] = ['checkIsUser',
                          ('checkCanMakeRequestToGroup', club_logic)]
-    rights['process_request'] = [('checkHasActiveRole', club_admin_logic.logic),
+    rights['process_request'] = [('checkHasActiveRoleForScope', club_admin_logic.logic),
                                  ('checkCanProcessRequest','club_member')]
     rights['manage'] = [('checkIsAllowedToManageRole',
                          [soc.logic.models.club_member.logic,