[Checkins] SVN: z3c.pt/trunk/ Declare zope security settings for classes when zope.security is present as the "class" ZCML directive was moved there.

Dan Korostelev nadako at gmail.com
Thu Aug 27 11:49:14 EDT 2009


Log message for revision 103297:
  Declare zope security settings for classes when zope.security is present as the "class" ZCML directive was moved there.

Changed:
  U   z3c.pt/trunk/CHANGES.txt
  U   z3c.pt/trunk/src/z3c/pt/configure.zcml

-=-
Modified: z3c.pt/trunk/CHANGES.txt
===================================================================
--- z3c.pt/trunk/CHANGES.txt	2009-08-27 15:38:06 UTC (rev 103296)
+++ z3c.pt/trunk/CHANGES.txt	2009-08-27 15:49:14 UTC (rev 103297)
@@ -1,6 +1,12 @@
 Changelog
 ---------
 
+1.0.1 (unreleased)
+~~~~~~~~~~~~~~~~~~
+
+- Declare zope security settings for classes when zope.security is present
+  as the "class" ZCML directive was moved there.
+
 1.0.0 (2009/07/06)
 ~~~~~~~~~~~~~~~~~~
 

Modified: z3c.pt/trunk/src/z3c/pt/configure.zcml
===================================================================
--- z3c.pt/trunk/src/z3c/pt/configure.zcml	2009-08-27 15:38:06 UTC (rev 103296)
+++ z3c.pt/trunk/src/z3c/pt/configure.zcml	2009-08-27 15:49:14 UTC (rev 103297)
@@ -23,10 +23,9 @@
      name="exists"
      component=".expressions.exists_translator" />
 
-  <configure zcml:condition="installed zope.app.security">
+  <configure zcml:condition="installed zope.security">
 
-    <include package="zope.app.component" file="meta.zcml" />
-    <include package="zope.app.security" file="meta.zcml" />
+    <include package="zope.security" file="meta.zcml" />
 
     <class class="chameleon.core.utils.repeatitem">
       <allow interface="chameleon.core.interfaces.ITALESIterator" />



More information about the Checkins mailing list