[Zope3-checkins] CVS: Zope3/src/zope/app/publication - publicationtraverse.py:1.10

Steve Alexander steve@cat-box.net
Fri, 20 Jun 2003 02:45:09 -0400


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

Modified Files:
	publicationtraverse.py 
Log Message:
Added a note about the point in the code that an object acquires a
security proxy.
It can often be a convoluted process to track down exactly where a
proxy is acquired, and, while this is not usually an issue, it becomes
a problem if you see that the wrong checker is being used, and you
need to find out why.


=== Zope3/src/zope/app/publication/publicationtraverse.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/publication/publicationtraverse.py:1.9	Sun Jun  1 11:59:34 2003
+++ Zope3/src/zope/app/publication/publicationtraverse.py	Fri Jun 20 02:45:08 2003
@@ -75,6 +75,8 @@
             adapter = queryView(ob, '_traverse', request, self) # marker
             if adapter is not self:
                 ob2 = adapter.publishTraverse(request, nm)
+                # ob2 will be security proxied here becuase the adapter
+                # was security proxied.
             else:
                 raise NotFound(ob, name, request)