def _check_paper_protection(self): if not RHPaperBase._check_paper_protection(self): return False if not self.contribution.can_submit_proceedings( session.user) and not self.event.cfp.is_manager(session.user): return False return self.contribution.paper.state == PaperRevisionState.to_be_corrected
def _check_paper_protection(self): if not RHPaperBase._check_paper_protection(self): return False if not self.contribution.can_submit_proceedings(session.user): return False # this RH is only used for initial submission return self.paper is None
def _check_paper_protection(self): if not RHPaperBase._check_paper_protection(self): return False if not self.contribution.is_user_associated(session.user, check_abstract=True): return False paper = self.contribution.paper return paper is None or paper.state == PaperRevisionState.to_be_corrected
def _check_paper_protection(self): if not RHPaperBase._check_paper_protection(self): return False if not self.contribution.is_user_associated(session.user, check_abstract=True): return False paper = self.contribution.paper return paper is None or paper.state == PaperRevisionState.to_be_corrected
def _check_paper_protection(self): if not self.event.cfp.is_manager(session.user): if not RHPaperBase._check_paper_protection(self): return False if not self.contribution.is_user_associated(session.user, check_abstract=True): return False return self.contribution.paper.state == PaperRevisionState.to_be_corrected
def _check_paper_protection(self): if not self.event.cfp.is_manager(session.user): if not RHPaperBase._check_paper_protection(self): return False if not self.contribution.is_user_associated(session.user, check_abstract=True): return False # this RH is only used for initial submission return self.paper is None