[Checkins] SVN: Products.DCWorkflow/branches/2.2/Products/DCWorkflow/ in Zope 2.13, the CMF permission declarations have been moved to CMFCore. this means that on Zope 2.13 CMFCore 2.2.2 is a minimum dependency, but I'm not sure how to declare that
David Glick
davidglick at onenw.org
Fri Nov 26 17:21:16 EST 2010
Log message for revision 118612:
in Zope 2.13, the CMF permission declarations have been moved to CMFCore. this means that on Zope 2.13 CMFCore 2.2.2 is a minimum dependency, but I'm not sure how to declare that
Changed:
U Products.DCWorkflow/branches/2.2/Products/DCWorkflow/CHANGES.txt
U Products.DCWorkflow/branches/2.2/Products/DCWorkflow/configure.zcml
-=-
Modified: Products.DCWorkflow/branches/2.2/Products/DCWorkflow/CHANGES.txt
===================================================================
--- Products.DCWorkflow/branches/2.2/Products/DCWorkflow/CHANGES.txt 2010-11-26 16:52:31 UTC (rev 118611)
+++ Products.DCWorkflow/branches/2.2/Products/DCWorkflow/CHANGES.txt 2010-11-26 22:21:16 UTC (rev 118612)
@@ -4,6 +4,8 @@
2.2.3 (unreleased)
------------------
+- Explicitly include permissions from CMFCore, which are needed now that
+ they aren't declared in Five in Zope 2.13.
2.2.2 (2010-11-11)
------------------
Modified: Products.DCWorkflow/branches/2.2/Products/DCWorkflow/configure.zcml
===================================================================
--- Products.DCWorkflow/branches/2.2/Products/DCWorkflow/configure.zcml 2010-11-26 16:52:31 UTC (rev 118611)
+++ Products.DCWorkflow/branches/2.2/Products/DCWorkflow/configure.zcml 2010-11-26 22:21:16 UTC (rev 118612)
@@ -2,8 +2,14 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
+ xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="cmf_default">
+ <configure zcml:condition="installed AccessControl.security">
+ <!-- for Zope 2.13 -->
+ <include package="Products.CMFCore" file="permissions.zcml" />
+ </configure>
+
<include package=".browser"/>
<include file="exportimport.zcml"/>
More information about the checkins
mailing list