Пример #1
0
 def _clone_session_coordinator_privs(self, new_event):
     session_settings_data = session_settings.get_all(self.old_event)
     session_settings.set_multi(
         new_event, {
             'coordinators_manage_contributions':
             session_settings_data['coordinators_manage_contributions'],
             'coordinators_manage_blocks':
             session_settings_data['coordinators_manage_blocks']
         })
Пример #2
0
 def _clone_session_coordinator_privs(self, new_event):
     session_settings_data = session_settings.get_all(self.old_event)
     session_settings.set_multi(
         new_event,
         {
             "coordinators_manage_contributions": session_settings_data["coordinators_manage_contributions"],
             "coordinators_manage_blocks": session_settings_data["coordinators_manage_blocks"],
         },
     )