[Zope3-checkins] CVS: Zope3/src/zope/app/security -
_protections.py:1.5
Jim Fulton
jim at zope.com
Sun Sep 21 13:32:44 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/security
In directory cvs.zope.org:/tmp/cvs-serv14601/src/zope/app/security
Modified Files:
_protections.py
Log Message:
Always allow access to __parent__ and __name__.
=== Zope3/src/zope/app/security/_protections.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/security/_protections.py:1.4 Wed Aug 6 10:37:52 2003
+++ Zope3/src/zope/app/security/_protections.py Sun Sep 21 13:32:43 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