[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication - ZopePublication.py:1.1.2.29
Chris Humphries
zopemonkey@yahoo.com
Sat, 23 Mar 2002 18:23:36 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication
In directory cvs.zope.org:/tmp/cvs-serv31793/ZopePublication
Modified Files:
Tag: Zope-3x-branch
ZopePublication.py
Log Message:
Undo: provides undo ability, like in zope 2
===========================================
undo_log.pt -> ZPT file for View
Undo.py -> View
IUndoManager.py -> Interface for undo
ZODBUndManager -> Utility for View to do the
actual work.
__init__.py -> newline/requirement
=== Zope3/lib/python/Zope/App/ZopePublication/ZopePublication.py 1.1.2.28 => 1.1.2.29 ===
getSecurityManager().validate(None, wrapped)
return (wrapped, r[1])
+
+ def afterTraversal(self, request, ob):
+ request_get = request.get
+ T=get_transaction()
+ T.note(request_get('PATH_INFO'))
+ auth_user=request_get('AUTHENTICATED_USER',None)
+ if auth_user is not None:
+ T.setUser(auth_user, request_get('AUTHENTICATION_PATH'))