[Zope3-checkins] CVS: Zope3/src/zope/app/services - registration.py:1.21.2.1

Marius Gedminas marius at pov.lt
Mon Feb 23 14:18:34 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv14712/src/zope/app/services

Modified Files:
      Tag: mgedmin-events2-branch
	registration.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/services/registration.py 1.21 => 1.21.2.1 ===
--- Zope3/src/zope/app/services/registration.py:1.21	Fri Feb 20 11:57:30 2004
+++ Zope3/src/zope/app/services/registration.py	Mon Feb 23 14:18:03 2004
@@ -423,7 +423,8 @@
 
             checker = InterfaceChecker(interface, self.permission)
 
-            component = Proxy(component, checker)
+            # XXX get the interaction from somewhere
+            component = Proxy(component, checker, None)
 
         return component
 




More information about the Zope3-Checkins mailing list