[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Folder - folder.zcml:1.1.2.3

Steve Alexander steve@cat-box.net
Thu, 28 Feb 2002 12:56:34 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Folder
In directory cvs.zope.org:/tmp/cvs-serv1912/lib/python/Zope/App/OFS/Folder

Modified Files:
      Tag: Zope-3x-branch
	folder.zcml 
Log Message:
Minimal changes needed to get the ZMI viewable again, now that Shane's ZPT security hooking up has landed.
There's still a few more declarations that will be needed in OFS, and possibly elsewhere too (like on Roles...)

Also, I've patched the security policy to allow access to strings, unicodes and lists as Zope.Public. I don't know whether this is the right thing to do or not, but it is clearly commented in the code for easy removal later :)



=== Zope3/lib/python/Zope/App/OFS/Folder/folder.zcml 1.1.2.2 => 1.1.2.3 ===
    permission_id="Zope.View" />
 
+
+<security:protectClass name="Zope.App.OFS.Folder.FolderContents."
+   permission_id="Zope.ManageContent" 
+   methods="index, listContentInfo, remove, removeObjects, confirmRemoved"/>
+   
+
+
 <browser:view name="adder"
  for="Zope.App.OFS.Folder.Folder.IFolder."
  factory="Zope.App.OFS.Folder.FolderAdder." />