les éditeurs peuvent modifier les groupes via les méthode add et removeMember

This commit is contained in:
fpeters 2004-03-24 15:18:52 +00:00
parent 831716a243
commit b23719bb5a
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class GroupsServer(commonGroups.GroupsCommonMixin, objects.ObjectsServer):
virtualServerId = context.getVar('applicationId')
virtualServer = self.getVirtualServer(virtualServerId)
if not self.isAdmin():
if not self.canModifyObject(objectId):
clientToken = context.getVar('clientToken')
clientId = getApplicationId(clientToken)
clientRole = commonTools.extractRole(clientId)
@ -152,7 +152,7 @@ class GroupsServer(commonGroups.GroupsCommonMixin, objects.ObjectsServer):
virtualServerId = context.getVar('applicationId')
virtualServer = self.getVirtualServer(virtualServerId)
if not self.isAdmin():
if not self.canModifyObject(objectId):
clientToken = context.getVar('clientToken')
clientId = getApplicationId(clientToken)
clientRole = commonTools.extractRole(clientId)