Exemplo n.º 1
0
 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())
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 def _checkProtection(self):
     if not RCPaperReviewManager.hasRights(self) and not RCAbstractManager.hasRights(self):
         ConferenceReviewingBase._checkProtection(self)
Exemplo n.º 4
0
 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)
Exemplo n.º 5
0
 def _checkProtection(self):
     if not RCPaperReviewManager.hasRights(
             self) and not RCAbstractManager.hasRights(self):
         ConferenceReviewingBase._checkProtection(self)