[Zope-Checkins] CVS: Zope/lib/python/AccessControl - User.py:1.168.18.1
Casey Duncan
casey@zope.com
Wed, 27 Mar 2002 15:26:22 -0500
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv13008/AccessControl
Modified Files:
Tag: casey-death_to_index_html-branch
User.py
Log Message:
Refactored death to index_html implementation to handle the root app object,
and for better bw compatibility with products subclassing
ObjectManager/Folder and legacy Folder instances. Previous implementation was
a bit overzealous by default.
=== Zope/lib/python/AccessControl/User.py 1.168 => 1.168.18.1 ===
"""
if len(request.steps) == 0: # someone deleted root index_html
- request.RESPONSE.notFoundError('no default view (root index_html'
+ request.RESPONSE.notFoundError('no default view (root default view'
' was probably deleted)')
n = request.steps[-1]
# default to accessed and container as v.aq_parent