[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Introspector - introspector.zcml:1.1.2.2.2.4

Jim Fulton jim@zope.com
Wed, 5 Jun 2002 11:18:29 -0400


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

Modified Files:
      Tag: Zope3InWonderland-branch
	introspector.zcml 
Log Message:
Fixed up zcml and pt to reflect new way of defining views.
This changed lots of urls. Also made sure that relative urls
starting with names with :: had a preceeding "./".  :-/

Had to modify some py files to accomidate these changes, including
createing some interfaces to use in security assertions.



=== Zope3/lib/python/Zope/App/OFS/Introspector/introspector.zcml 1.1.2.2.2.3 => 1.1.2.2.2.4 ===
      title="View Component Description" />
 
-  <content class=".Views.Browser.IntrospectorView.">
-    <security:require permission="Zope.View" />
-  </content>
-
   <browser:view
     name="api"
+     permission="Zope.View"
     factory="Zope.App.OFS.Introspector.
              Zope.App.OFS.Introspector.Views.Browser.IntrospectorView." />
 
-  <content class=".Introspector.">
-    <security:require
-        permission="Zope.View"
-        interface="Zope.App.OFS.Introspector.IIntrospector." />
-  </content>
-
   <adapter
       factory="Zope.App.OFS.Introspector."
+      permission="Zope.View"
       provides="Zope.App.OFS.Introspector.IIntrospector." />
 
 </zopeConfigure>