[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI/Views/Browser - browser.zcml:1.1.4.3.2.3

Steve Alexander steve@cat-box.net
Mon, 3 Jun 2002 18:57:56 -0400


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

Modified Files:
      Tag: Zope3InWonderland-branch
	browser.zcml 
Log Message:
wonderland updates to zcml files.


=== Zope3/lib/python/Zope/App/ZMI/Views/Browser/browser.zcml 1.1.4.3.2.2 => 1.1.4.3.2.3 ===
 >
 
-  <browser:defaultView name="simple_create"
-            for="Zope.App.ZMI.IGenericCreatorMarker."
-            factory=".GenericCreatorView." />
+  <browser:defaultView
+      name="simple_create"
+      for="Zope.App.ZMI.IGenericCreatorMarker."
+      factory=".GenericCreatorView." />
 
-  <security:protectClass class=".GenericCreatorView."
-                         permission="Zope.View"
-                         names="index action" />
+  <content class=".GenericCreatorView.">
+    <security:require
+      permission="Zope.View"
+      attributes="index action" />
+  </content>
                        
 </zopeConfigure>