예제 #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)
예제 #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)
예제 #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)
예제 #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)
예제 #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)