Zope Subversion Repository

  Zope

Zope: zope.security/trunk/src/zope/security/decorator.py

Diff for /zope.security/trunk/src/zope/security/decorator.py between version 113056 and 121514

version 113056, Thu Jun 3 17:34:32 2010 UTC version 121514, Tue May 3 06:25:13 2011 UTC
Line 206 
Line 206 
 class DecoratorBase(SpecificationDecoratorBase, SecurityCheckerDecoratorBase):  class DecoratorBase(SpecificationDecoratorBase, SecurityCheckerDecoratorBase):
     """Base class for a proxy that provides both additional interfaces and      """Base class for a proxy that provides both additional interfaces and
     security declarations."""      security declarations."""
   
   
   # zope.location was made independent of security. To work together with
   # security, we re-inject the DecoratedSecurityCheckerDescriptor onto the
   # location proxy from here.
   # This is the only sane place we found for doing it: it kicks in as soon
   # as someone starts using security proxies.
   import zope.location.location
   zope.location.location.LocationProxy.__Security_checker__ = (
       DecoratedSecurityCheckerDescriptor())


Generate output suitable for use with a patch program
Legend:
Removed from v.113056  
changed lines
  Added in v.121514

webmaster@zope.org

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help