[Zope3-checkins] SVN: Zope3/trunk/src/zope/formlib/configure.zcml Added class declarations for Widgets, Actions, Action, so that security

Albertas Agejevas alga at pov.lt
Mon Jan 29 17:00:12 EST 2007


Log message for revision 72255:
  Added class declarations for Widgets, Actions, Action, so that security
  proxied views could use them.
  

Changed:
  U   Zope3/trunk/src/zope/formlib/configure.zcml

-=-
Modified: Zope3/trunk/src/zope/formlib/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/formlib/configure.zcml	2007-01-29 18:12:14 UTC (rev 72254)
+++ Zope3/trunk/src/zope/formlib/configure.zcml	2007-01-29 22:00:12 UTC (rev 72255)
@@ -20,4 +20,17 @@
       permission="zope.Public"
       />
 
+  <!-- For security proxied views -->
+  <class class=".form.Widgets">
+    <allow interface=".interfaces.IWidgets" />
+  </class>
+
+  <class class=".form.Actions">
+    <allow interface=".interfaces.IActions" />
+  </class>
+
+  <class class=".form.Action">
+    <allow interface=".interfaces.IAction" />
+  </class>
+
 </configure>



More information about the Zope3-Checkins mailing list