[Zope3-checkins] SVN: Zope3/trunk/src/zope/traversing/configure.zcml - fix for issue 507, made ++debug++ namespace available to developer mode only

Christian Theune cvs-admin at zope.org
Mon Jun 19 14:02:30 EDT 2006


Log message for revision 68761:
   - fix for issue 507, made ++debug++ namespace available to developer mode only
  

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

-=-
Modified: Zope3/trunk/src/zope/traversing/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/traversing/configure.zcml	2006-06-19 17:58:17 UTC (rev 68760)
+++ Zope3/trunk/src/zope/traversing/configure.zcml	2006-06-19 18:02:25 UTC (rev 68761)
@@ -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