Esempio n. 1
0
 def setTechnicians(self, technicians):
     """Set the list of technicians, and give them the
     Technician local role.
     """
     self._updateRolesField('technicians', technicians)
     #Customizando set do collective.watchers para enviar e-mails dos usuarios setados no campo "Técnicos do Gerenciador"
     watchers = IWatcherList(self, None)
     watchers._WatcherList__set_watchers(technicians)
Esempio n. 2
0
 def setManagers(self, managers):
     """Set the list of tracker managers, and give them the
     TrackerManager local role.
     """
     self._updateRolesField('managers', managers)
     #Customizando set do collective.watchers para enviar e-mails dos usuarios setados no campo "Administradores do Gerenciador"
     watchers = IWatcherList(self, None)
     watchers._WatcherList__set_watchers(managers)