def _check_access(self): if not self.contrib.can_manage(session.user): raise Forbidden check_event_locked(self, self.event)
def _checkProtection(self): RHProtected._checkProtection(self) if not can_manage_attachments(self.object, session.user): raise Forbidden check_event_locked(self, self.event_new)
def _checkProtection(self): RHConferenceBaseDisplay._checkProtection(self) # Only let event managers access the management versions. if self.management and not self.event_new.can_manage(session.user): raise Forbidden check_event_locked(self, self.event_new)
def _checkProtection(self): RHNoteBase._checkProtection(self) if not can_edit_note(self.object, session.user): raise Forbidden check_event_locked(self, self.event_new)
def _checkProtection(self): if not self.target.can_manage(session.user): raise Forbidden elif isinstance(self.target, Event): check_event_locked(self, self.target)
def _checkProtection(self): if not self.contrib.can_manage(session.user): raise Forbidden check_event_locked(self, self.event_new)
def _checkProtection(self): RHPapersBase._checkProtection(self) if not self._check_paper_protection(): raise Forbidden check_event_locked(self, self.event_new)
def _checkProtection(self): RHPapersBase._checkProtection(self) if not session.user or not self.event_new.cfp.can_access_judging_area( session.user): raise Forbidden check_event_locked(self, self.event_new)