[Zope3-checkins] SVN: Zope3/branches/3.3/src/zope/traversing/configure.zcml - Made access to ++debug++ traversal namespace configurable on the basis of

Christian Theune cvs-admin at zope.org
Sun Jun 18 22:43:00 EDT 2006


Log message for revision 68743:
   - Made access to ++debug++ traversal namespace configurable on the basis of
     the 'devmode' option in zope.conf.
  

Changed:
  U   Zope3/branches/3.3/src/zope/traversing/configure.zcml

-=-
Modified: Zope3/branches/3.3/src/zope/traversing/configure.zcml
===================================================================
--- Zope3/branches/3.3/src/zope/traversing/configure.zcml	2006-06-19 02:01:22 UTC (rev 68742)
+++ Zope3/branches/3.3/src/zope/traversing/configure.zcml	2006-06-19 02:42:57 UTC (rev 68743)
@@ -1,4 +1,5 @@
-<configure xmlns="http://namespaces.zope.org/zope">
+<configure xmlns="http://namespaces.zope.org/zope"
+    xmlns:zcml="http://namespaces.zope.org/zcml">
 
 <adapter
     for="*"
@@ -105,7 +106,14 @@
     factory="zope.traversing.namespace.vh"
     />
 
+<!-- The debug namespace allows acess to things that should not normally be 
+ visible (e.g. file system read acces).
+
+ See issue 507 for the rationale of binding this to developer-mode only.
+ -->
+
 <view
+    zcml:condition="have devmode"
     name="debug" type="*"
     provides="zope.traversing.interfaces.ITraversable" for="*"
     factory="zope.traversing.namespace.debug"



More information about the Zope3-Checkins mailing list