[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/stateful -
instance.py:1.16.2.1
Marius Gedminas
marius at pov.lt
Mon Feb 23 14:18:36 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv14712/src/zope/app/workflow/stateful
Modified Files:
Tag: mgedmin-events2-branch
instance.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/workflow/stateful/instance.py 1.16 => 1.16.2.1 ===
--- Zope3/src/zope/app/workflow/stateful/instance.py:1.16 Fri Feb 20 11:57:34 2004
+++ Zope3/src/zope/app/workflow/stateful/instance.py Mon Feb 23 14:18:05 2004
@@ -163,7 +163,8 @@
if self._data is None:
return None
# Always give out the data attribute as proxied object.
- return Proxy(self._data, self._data.getChecker())
+ # XXX get the interaction from somewhere
+ return Proxy(self._data, self._data.getChecker(), None)
data = property(getData)
More information about the Zope3-Checkins
mailing list