[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI - zmi.zcml:1.1.2.2

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


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

Modified Files:
      Tag: Zope-3x-branch
	zmi.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/ZMI/zmi.zcml 1.1.2.1 => 1.1.2.2 ===
               factory="Zope.App.ZMI.ZMIViewUtility." />
 
+<security:protectClass name="Zope.App.ZMI.StandardMacros."
+                       permission_id="Zope.View"/>
+
+<security:protectClass name="Zope.App.ZMI.ZMIViewUtility."
+                       permission_id="Zope.View"
+                       method="getZMIViews"/>
+
+
 </zopeConfigure>