Example #1
0
 def _checkProtection( self ):
     target = self._target
     try:
         self._target = self._conf
         RHModificationBaseProtected._checkProtection(self)
     finally:
         self._target = target
     CFAEnabled.checkEnabled(self)
Example #2
0
 def _checkProtection( self ):
     RHModificationBaseProtected._checkProtection( self )
     CFAEnabled.checkEnabled(self)
Example #3
0
 def _checkProtection(self):
     RHModificationBaseProtected._checkProtection(self)
     CFAEnabled.checkEnabled(self)
Example #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)
Example #5
0
 def _checkProtection(self):
     if not RCAbstractReviewer.hasRights(self):
         raise MaKaCError(
             "Only the reviewer of this abstract can access this page / perform this request"
         )
     CFAEnabled.checkEnabled(self)
Example #6
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)
Example #7
0
 def _checkProtection(self):
     if not RCAbstractReviewer.hasRights(self):
         raise MaKaCError("Only the reviewer of this abstract can access this page / perform this request")
     CFAEnabled.checkEnabled(self)