Exemple #1
0
 def _check_access(self):
     RHConferenceBaseDisplay._check_access(self)
     if not self.folder.can_access(session.user):
         raise Forbidden
Exemple #2
0
 def _check_access(self):
     RHConferenceBaseDisplay._check_access(self)
     if not is_menu_entry_enabled(self.MENU_ENTRY_NAME, self.event):
         self._forbidden_if_not_admin()
Exemple #3
0
 def _check_access(self):
     if not session.user:
         raise Forbidden
     RHConferenceBaseDisplay._check_access(self)
Exemple #4
0
 def _check_access(self):
     RHConferenceBaseDisplay._check_access(self)
     # Only let managers access the management versions.
     if self.management and not self.event.cfp.is_manager(session.user):
         raise Forbidden
Exemple #5
0
 def _check_access(self):
     RHConferenceBaseDisplay._check_access(self)
     # Only let event managers access the management versions.
     if self.management and not self.event.can_manage(session.user):
         raise Forbidden
     check_event_locked(self, self.event)