Esempio n. 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
Esempio n. 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