[Zope-Checkins] CVS: Zope2 - BaseRequest.py:1.34.4.1
chrism@serenade.digicool.com
chrism@serenade.digicool.com
Thu, 4 Jan 2001 14:34:02 -0500
Update of /cvs-repository/Zope2/lib/python/ZPublisher
In directory serenade.digicool.com:/home/chrism/sandboxes/FixUserFoldersBranch/lib/python/ZPublisher
Modified Files:
Tag: FixUserFoldersBranch
BaseRequest.py
Log Message:
Expanded on idea of having REQUEST['PUBLISHED'] == the object being published.
3 new REQUEST variables are created during traversal:
REQUEST['PUBLISHED_NAME'] is the name the published object was accessed via.
REQUEST['PUBLISHED_ACCESSED'] is the aquisition parent of the pub. object.
REQUEST['PUBLISHED_CONTAINER'] is the physical container of the pub. object.
Having these variables available allows user folder logic to be much simpler.
Possible problems:
- need to verify that changes don't break Bobo apps.
- security ramifications? Can these objects be accessed from REQUEST
without a __roles__ check?