[Checkins] SVN: zc.resourcelibrary/trunk/src/zc/resourcelibrary/configure.zcml Make security assertions on request and response like the default ones.

Gary Poster gary at zope.com
Fri Jun 30 11:36:31 EDT 2006


Log message for revision 68929:
  Make security assertions on request and response like the default ones.
  

Changed:
  U   zc.resourcelibrary/trunk/src/zc/resourcelibrary/configure.zcml

-=-
Modified: zc.resourcelibrary/trunk/src/zc/resourcelibrary/configure.zcml
===================================================================
--- zc.resourcelibrary/trunk/src/zc/resourcelibrary/configure.zcml	2006-06-30 15:28:12 UTC (rev 68928)
+++ zc.resourcelibrary/trunk/src/zc/resourcelibrary/configure.zcml	2006-06-30 15:36:30 UTC (rev 68929)
@@ -14,4 +14,12 @@
       provides="zope.app.publication.interfaces.IBrowserRequestFactory"
       />
 
+  <class class=".publication.Request">
+    <require like_class="zope.publisher.browser.BrowserRequest" />
+  </class>
+
+  <class class=".publication.Response">
+    <require like_class="zope.publisher.browser.BrowserResponse" />
+  </class>
+
 </configure>



More information about the Checkins mailing list