[Zope3-checkins] CVS: Zope3/src/zope/app/security -
_protections.py:1.4
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Aug 6 11:37:57 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/security
In directory cvs.zope.org:/tmp/cvs-serv16872/app/security
Modified Files:
_protections.py
Log Message:
MessageID objects should never get a proxy, i.e. be rocks.
=== Zope3/src/zope/app/security/_protections.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/security/_protections.py:1.3 Wed Mar 12 05:11:14 2003
+++ Zope3/src/zope/app/security/_protections.py Wed Aug 6 10:37:52 2003
@@ -107,3 +107,7 @@
if PersistentMetaClass != type:
from zope.security.checker import _typeChecker
defineChecker(PersistentMetaClass, _typeChecker)
+
+ # Make sure the message id gets never proxied
+ from zope.i18n.messageid import MessageID
+ defineChecker(MessageID, NoProxy)
More information about the Zope3-Checkins
mailing list