[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/HTTP - http.zcml:1.1.2.4.2.3

Steve Alexander steve@cat-box.net
Mon, 3 Jun 2002 16:01:16 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/HTTP
In directory cvs.zope.org:/tmp/cvs-serv23405/lib/python/Zope/Publisher/HTTP

Modified Files:
      Tag: Zope3InWonderland-branch
	http.zcml 
Log Message:
added content directive.


=== Zope3/lib/python/Zope/Publisher/HTTP/http.zcml 1.1.2.4.2.2 => 1.1.2.4.2.3 ===
 >
 
-  <security:protectClass class=".HTTPRequest."
-    interface=".IHTTPApplicationRequest."
-    permission="Zope.View" />
+  <content class=".HTTPRequest.">
+    <security:require
+        permission="Zope.View"
+        interface=".IHTTPApplicationRequest."/>
+  </content>
 
-  <security:protectClass class=".HTTPRequest.URLGetter"
-    permission="Zope.View" 
-    names="get __getitem__ __str__" />
+  <content class=".HTTPRequest.URLGetter">
+    <security:require
+        permission="Zope.View" 
+        attributes="get __getitem__ __str__" />
+  </content>
 
 </zopeConfigure>