[Zope3-checkins] CVS: Zope3/src/zope/app/security - _protections.py:1.4.8.1

Jim Fulton jim at zope.com
Tue Sep 9 12:47:39 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/security
In directory cvs.zope.org:/tmp/cvs-serv13092/src/zope/app/security

Modified Files:
      Tag: parentgeddon-branch
	_protections.py 
Log Message:
got more tests to pass

=== Zope3/src/zope/app/security/_protections.py 1.4 => 1.4.8.1 ===
--- Zope3/src/zope/app/security/_protections.py:1.4	Wed Aug  6 10:37:52 2003
+++ Zope3/src/zope/app/security/_protections.py	Tue Sep  9 11:47:09 2003
@@ -111,3 +111,7 @@
     # Make sure the message id gets never proxied
     from zope.i18n.messageid import MessageID
     defineChecker(MessageID, NoProxy)
+
+    # add __parent__ and __name__ to always available names
+    import zope.security.checker
+    zope.security.checker._always_available.extend(['__name__', '__parent__'])




More information about the Zope3-Checkins mailing list