Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 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)
Exemplo n.º 4
0
 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)
Exemplo n.º 5
0
 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)