[Zope-Checkins] CVS: Zope2 - SimpleItem.py:1.68

Jim Fulton jim@digicool.com
Tue, 4 Apr 2000 18:41:52 -0400


Update of /cvs-repository/Zope2/lib/python/OFS
In directory korak.digicool.com:/tmp/cvs-serv30174

Modified Files:
	SimpleItem.py 
Log Message:
Set REQUEST to Acquisition.Acquired to prevent creation of
objects with the ID 'REQUEST'.

Added support for getPhysicalRoot method, which is actually acquired
from the top-level object. We actually set the attribute to
Acquisition.Acquired to make sure.  We also provide a security setting
that makes it callable only from Python.

Added unrestrictedTraverse, which does publisher-style traversal
(__bobo_traverse__, getattr, getitem) without security checks.
Provide a setting that makes it private.