[Zope-Checkins] CVS: Zope/lib/python/ZTUtils - Zope.py:1.11.42.3.2.1
Jim Fulton
jim at zope.com
Fri Jan 16 15:22:38 EST 2004
Update of /cvs-repository/Zope/lib/python/ZTUtils
In directory cvs.zope.org:/tmp/cvs-serv5145/lib/python/ZTUtils
Modified Files:
Tag: caz_dict_list_redo
Zope.py
Log Message:
Reverted a change that suppressed passing names to validate when doing
item access.
=== Zope/lib/python/ZTUtils/Zope.py 1.11.42.3 => 1.11.42.3.2.1 ===
--- Zope/lib/python/ZTUtils/Zope.py:1.11.42.3 Thu Jan 8 18:34:04 2004
+++ Zope/lib/python/ZTUtils/Zope.py Fri Jan 16 15:22:37 2004
@@ -30,7 +30,7 @@
Unauthorized = 'Unauthorized'
def guarded_getitem(object, index):
v = object[index]
- if getSecurityManager().validate(object, object, None, v):
+ if getSecurityManager().validate(object, object, index, v):
return v
raise Unauthorized, 'unauthorized access to element %s' % `i`
else:
More information about the Zope-Checkins
mailing list