Zope Subversion Repository

  Zope

Zope: Zope3/trunk/src/zope/security/simplepolicies.py

Diff for /Zope3/trunk/src/zope/security/simplepolicies.py between version 8683 and 9267

version 8683, Tue Dec 31 03:35:15 2002 UTC version 9267, Thu Mar 13 18:49:20 2003 UTC
Line 23 
Line 23 
     """      """
     __implements__ = ISecurityPolicy      __implements__ = ISecurityPolicy
   
     def checkPermission( sel, permission, object, context ):      def checkPermission(self, permission, object, context):
         if (context.user is system_user   # no user          if (context.user is system_user   # no user
             and not context.stack  # no untrusted code              and not context.stack  # no untrusted code
             ):              ):


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

webmaster@zope.org

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help