[Checkins] SVN: z3c.pt/trunk/ Added Zope security declaration for the repeat dictionary.
Malthe Borch
mborch at gmail.com
Sat Jan 3 18:08:18 EST 2009
Log message for revision 94496:
Added Zope security declaration for the repeat dictionary.
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-01-03 21:47:56 UTC (rev 94495)
+++ z3c.pt/trunk/CHANGES.txt 2009-01-03 23:08:18 UTC (rev 94496)
@@ -1,6 +1,11 @@
Changelog
---------
+In next version
+
+- Added Zope security declaration for the repeat dictionary (tales
+ iterator). [malthe]
+
Version 1.0b6 - December 18, 2008
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Modified: z3c.pt/trunk/src/z3c/pt/configure.zcml
===================================================================
--- z3c.pt/trunk/src/z3c/pt/configure.zcml 2009-01-03 21:47:56 UTC (rev 94495)
+++ z3c.pt/trunk/src/z3c/pt/configure.zcml 2009-01-03 23:08:18 UTC (rev 94496)
@@ -1,5 +1,6 @@
<configure package="z3c.pt"
- xmlns="http://namespaces.zope.org/zope">
+ xmlns="http://namespaces.zope.org/zope"
+ xmlns:zcml="http://namespaces.zope.org/zcml">
<include package="zope.component" file="meta.zcml" />
@@ -22,5 +23,16 @@
name="exists"
component=".expressions.exists_translator" />
+ <configure zcml:condition="installed zope.app.component">
+
+ <include package="zope.app.component" file="meta.zcml" />
+ <include package="zope.app.security" file="meta.zcml" />
+
+ <class class="chameleon.core.utils.repeatitem">
+ <allow interface="chameleon.core.interfaces.ITALESIterator" />
+ </class>
+
+ </configure>
+
</configure>
More information about the Checkins
mailing list