[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/RoleService/tests - testRoleService.py:1.1.2.4

Jim Fulton jim@zope.com
Sun, 28 Apr 2002 13:17:09 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/RoleService/tests
In directory cvs.zope.org:/tmp/cvs-serv17050/lib/python/Zope/App/OFS/RoleService/tests

Modified Files:
      Tag: Zope-3x-branch
	testRoleService.py 
Log Message:
HOTYB: Merged SecurityProxy-branch into main branch.  

All tests pass and folders can be listed and added through the web.
It is likely that most other things don't work and will need to be
fixed. The reason is that many accesses that should have been checked
before are now being checked and additional checks and thinking about
permissions and security settings are needed.

I'm in the process of drafting a paper for the wiki that describes the
changes in more detail.


=== Zope3/lib/python/Zope/App/OFS/RoleService/tests/testRoleService.py 1.1.2.3 => 1.1.2.4 ===
 from Zope.Testing.CleanUp import CleanUp # Base class w registry cleanup
 from Interface import Interface
+from Zope.App.OFS.Folder.RootFolder import RootFolder
+from Zope.App.OFS.Folder.Folder import Folder
+from Zope.App.OFS.RoleService.RoleService import RoleService
+from Zope.Testing.CleanUp import CleanUp # Base class w registry cleanup
+from Zope.ComponentArchitecture import getService
+from Zope.App.Security.RoleRegistry import roleRegistry
 
 class ITestService(Interface): pass