[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser -
i18nresourcemeta.py:1.15.18.1
Marius Gedminas
marius at pov.lt
Mon Feb 23 14:18:33 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv14712/src/zope/app/publisher/browser
Modified Files:
Tag: mgedmin-events2-branch
i18nresourcemeta.py
Log Message:
Added interaction to security proxies. Added interaction arguments to security
checkers. Added a lot of XXX comments in places where proxies are created but
no interaction is (yet) available.
Added an initial draft of IInteraction to zope.security.interfaces. This might
move to zope.interaction.interfaces as suggested by Steve.
Fixed a buglet in CheckerLoggingMixin: check_getattr delegated the check to
super(...).check instead of super(...).check_getattr. Added full unit tests
for CheckerLoggingMixin.
=== Zope3/src/zope/app/publisher/browser/i18nresourcemeta.py 1.15 => 1.15.18.1 ===
--- Zope3/src/zope/app/publisher/browser/i18nresourcemeta.py:1.15 Fri Nov 21 12:10:25 2003
+++ Zope3/src/zope/app/publisher/browser/i18nresourcemeta.py Mon Feb 23 14:18:02 2004
@@ -117,6 +117,8 @@
# needs to be rewrapped
resource.__Security_checker__ = checker
- return Proxy(resource, checker)
+ # XXX get the interaction from somewhere -- the request probably
+ # XXX this place is not covered by unit tests
+ return Proxy(resource, checker, None)
return proxyView
More information about the Zope3-Checkins
mailing list