def __init__(self, rh, target): WPConferenceModifBase.__init__(self, rh, target) from MaKaC.webinterface.rh.reviewingModif import RCPaperReviewManager, RCAbstractManager self._isPRM = RCPaperReviewManager.hasRights(rh) self._isAM = RCAbstractManager.hasRights(rh) self._canModify = self._conf.canModify(rh.getAW()) self._showListContribToJudge = self._conf.getConfReview().isReviewer(rh._getUser()) or \ self._conf.getConfReview().isEditor(rh._getUser()) or \ self._conf.getConfReview().isReferee(rh._getUser()) self._showAssignContributions = self._canModify or self._isPRM or self._conf.getConfReview().isReferee(rh._getUser())
def _checkProtection(self): from MaKaC.webinterface.rh.reviewingModif import RCAbstractManager if not RCAbstractManager.hasRights( self) and not RCAbstractReviewer.hasRights(self): RHAbstractBase._checkProtection(self) CFAEnabled.checkEnabled(self)
def _checkProtection(self): if not RCPaperReviewManager.hasRights(self) and not RCAbstractManager.hasRights(self): ConferenceReviewingBase._checkProtection(self)
def _checkProtection(self): from MaKaC.webinterface.rh.reviewingModif import RCAbstractManager if not RCAbstractManager.hasRights(self) and not RCAbstractReviewer.hasRights(self): RHAbstractBase._checkProtection(self) CFAEnabled.checkEnabled(self)
def _checkProtection(self): if not RCPaperReviewManager.hasRights( self) and not RCAbstractManager.hasRights(self): ConferenceReviewingBase._checkProtection(self)