[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/tests - testZopePublication.py:1.1.2.22.4.2

Jim Fulton jim@zope.com
Sat, 27 Apr 2002 12:59:24 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/tests
In directory cvs.zope.org:/tmp/cvs-serv26931/lib/python/Zope/App/ZopePublication/tests

Modified Files:
      Tag: SecurityProxy-branch
	testZopePublication.py 
Log Message:
Moved security management modules to Zope.Security.

Added like_unto attribute to protect class so you can say that a class
has the same protections as another class::

  <security:protectClass name=".RootFolder." like_unto=".Folder." />

Added some additional calls to removeAllProxies in some component
lookup code while debugging integration of new security model.

Added protections for BTree types.


=== Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py 1.1.2.22.4.1 => 1.1.2.22.4.2 ===
 from ZODB.MappingStorage import MappingStorage
 from Zope.Publisher.Exceptions import Retry
-from Zope.App.Security.SecurityManager import setSecurityPolicy
-from Zope.App.Security import SimpleSecurityPolicies
+from Zope.Security import SimpleSecurityPolicies
+from Zope.Security.SecurityManagement import setSecurityPolicy
 from Zope.App.ZopePublication.Traversers import DefaultTraverser
 from Interface import Interface
 from Interface.Verify import verifyClass