Exemplo n.º 1
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         if not RCPaperReviewManager.hasRights(self):
             RHContribModifBase._checkProtection(self)
     else:
         raise MaKaCError(
             _("Paper Reviewing is not active for this conference"))
Exemplo n.º 2
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         if self._target.getConference().getConfPaperReview().getChoice() == CPR.NO_REVIEWING:
             raise MaKaCError(_("Type of reviewing has not been chosen yet"))
         elif not (RCPaperReviewManager.hasRights(self) or RCContributionReferee.hasRights(self)):
             RHContribModifBase._checkProtection(self);
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
Exemplo n.º 3
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         if self._target.getConference().getConfPaperReview().getChoice() == CPR.NO_REVIEWING:
             raise MaKaCError(_("Type of reviewing has not been chosen yet"))
         elif not (RCPaperReviewManager.hasRights(self) or RCContributionReferee.hasRights(self)):
             RHContribModifBase._checkProtection(self);
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
Exemplo n.º 4
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         if not (RCPaperReviewManager.hasRights(self) or RCContributionReferee.hasRights(self)):
             RHContribModifBase._checkProtection(self);
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
Exemplo n.º 5
0
 def _checkProtection(self):
     if not RCContributionReferee.hasRights(self):
         RHContribModifBase._checkProtection(self);
Exemplo n.º 6
0
 def _checkProtection(self):
     if not RCContributionReferee.hasRights(self):
         RHContribModifBase._checkProtection(self)