Пример #1
0
 def _checkProtection(self):
     if not self._conf.getAbstractMgr().showAttachedFilesContribList():
         # Same protection as the abstract
         temptarget = self._target
         self._target = self._target.getOwner()
         RHFileAccess._checkProtection(self)
         self._target = temptarget
Пример #2
0
 def _checkProtection( self ):
     if not self._conf.getAbstractMgr().showAttachedFilesContribList():
         # Same protection as the abstract
         temptarget=self._target
         self._target = self._target.getOwner()
         RHFileAccess._checkProtection( self )
         self._target = temptarget