Ejemplo n.º 1
0
 def _checkProtection( self ):
     target = self._target
     try:
         self._target = self._conf
         RHModificationBaseProtected._checkProtection(self)
     finally:
         self._target = target
     CFAEnabled.checkEnabled(self)
Ejemplo n.º 2
0
 def _checkProtection( self ):
     RHModificationBaseProtected._checkProtection( self )
     CFAEnabled.checkEnabled(self)
Ejemplo n.º 3
0
 def _checkProtection(self):
     RHModificationBaseProtected._checkProtection(self)
     CFAEnabled.checkEnabled(self)
Ejemplo 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)