def _check_access(self): RHConferenceBaseDisplay._check_access(self) if not self.folder.can_access(session.user): raise Forbidden
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()
def _check_access(self): if not session.user: raise Forbidden RHConferenceBaseDisplay._check_access(self)
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
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)