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