def manage_updateRoles(self, member_roles, REQUEST=None): """ Constrain some roles """ constrained_roles = { 'Chairperson': 1, 'DeputyChairperson': 1, # TODO: verify 'Secretary': 1, } self._constrainMembershipRoles(constrained_roles, member_roles) # Delegate to super BungeniTeam.manage_updateRoles(self, member_roles, REQUEST=None)
def manage_updateRoles(self,member_roles,REQUEST=None): """ Constrain some roles """ constrained_roles = { 'Chairperson': 1, 'DeputyChairperson': 1, # TODO: verify 'Secretary': 1, } self._constrainMembershipRoles(constrained_roles, member_roles) # Delegate to super BungeniTeam.manage_updateRoles(self,member_roles,REQUEST=None)
def manage_updateRoles(self,member_roles,REQUEST=None): """ Constrain some roles """ constrained_roles = { 'Leader': 1, 'DeputyLeader': 1, 'Spokesperson': 1, 'Secretary': 1, } self._constrainMembershipRoles(constrained_roles, member_roles) # Delegate to super BungeniTeam.manage_updateRoles(self,member_roles,REQUEST=None)
def manage_updateRoles(self, member_roles, REQUEST=None): """ Constrain some roles """ constrained_roles = { 'Leader': 1, 'DeputyLeader': 1, 'Spokesperson': 1, 'Secretary': 1, } self._constrainMembershipRoles(constrained_roles, member_roles) # Delegate to super BungeniTeam.manage_updateRoles(self, member_roles, REQUEST=None)
def manage_updateRoles(self,member_roles,REQUEST=None): """ """ constrained_roles = { 'Chairperson': self.getMaxChairs(), 'DeputyChairperson': 1, # TODO: verify 'Secretary': self.getMaxSecretaries(), } self._constrainMembershipRoles(constrained_roles, member_roles) # Delegate to super return BungeniTeam.manage_updateRoles(self,member_roles,REQUEST=None)