[CMF-checkins] CVS: CMF/CMFSetup/xml - wtcWorkflowExport.xml:1.5
Tres Seaver
tseaver at zope.com
Tue Jun 8 21:22:44 EDT 2004
Update of /cvs-repository/CMF/CMFSetup/xml
In directory cvs.zope.org:/tmp/cvs-serv1326/xml
Modified Files:
wtcWorkflowExport.xml
Log Message:
- workflow.py:
o Add parsing for top-level permission nodes.
- xml/wtcWorkflowExport.xml:
o Modify guard roles / permissions / groups to avoid ambiguity.
=== CMF/CMFSetup/xml/wtcWorkflowExport.xml 1.4 => 1.5 ===
--- CMF/CMFSetup/xml/wtcWorkflowExport.xml:1.4 Tue Jun 8 21:09:15 2004
+++ CMF/CMFSetup/xml/wtcWorkflowExport.xml Tue Jun 8 21:22:43 2004
@@ -35,18 +35,18 @@
tal:content="variable/default_expr">EXPRESSION</expression>
</default>
<guard>
- <permission
+ <guard-permission
tal:repeat="permission variable/guard_permissions"
- tal:content="permission">PERMISSION</permission>
- <role
+ tal:content="permission">PERMISSION</guard-permission>
+ <guard-role
tal:repeat="role variable/guard_roles"
- tal:content="role">ROLE</role>
- <group
+ tal:content="role">ROLE</guard-role>
+ <guard-group
tal:repeat="group variable/guard_groups"
- tal:content="group">GROUP</group>
- <expression
+ tal:content="group">GROUP</guard-group>
+ <guard-expression
tal:condition="variable/guard_expr"
- tal:content="variable/guard_expr">EXPRESSION</expression>
+ tal:content="variable/guard_expr">EXPRESSION</guard-expression>
</guard>
</variable>
<worklist
@@ -67,18 +67,18 @@
"
tal:content="worklist/actbox_name">ACTION NAME</action>
<guard>
- <permission
+ <guard-permission
tal:repeat="permission worklist/guard_permissions"
- tal:content="permission">PERMISSION</permission>
- <role
+ tal:content="permission">PERMISSION</guard-permission>
+ <guard-role
tal:repeat="role worklist/guard_roles"
- tal:content="role">ROLE</role>
- <group
+ tal:content="role">ROLE</guard-role>
+ <guard-group
tal:repeat="group worklist/guard_groups"
- tal:content="group">GROUP</group>
- <expression
+ tal:content="group">GROUP</guard-group>
+ <guard-expression
tal:condition="worklist/guard_expr"
- tal:content="worklist/guard_expr">EXPRESSION</expression>
+ tal:content="worklist/guard_expr">EXPRESSION</guard-expression>
</guard>
<match
name="review_state"
@@ -155,18 +155,18 @@
"
tal:content="transition/actbox_name">ACTION NAME</action>
<guard>
- <permission
+ <guard-permission
tal:repeat="permission transition/guard_permissions"
- tal:content="permission">PERMISSION</permission>
- <role
+ tal:content="permission">PERMISSION</guard-permission>
+ <guard-role
tal:repeat="role transition/guard_roles"
- tal:content="role">ROLE</role>
- <group
+ tal:content="role">ROLE</guard-role>
+ <guard-group
tal:repeat="group transition/guard_groups"
- tal:content="group">GROUP</group>
- <expression
+ tal:content="group">GROUP</guard-group>
+ <guard-expression
tal:condition="transition/guard_expr"
- tal:content="transition/guard_expr">EXPRESSION</expression>
+ tal:content="transition/guard_expr">EXPRESSION</guard-expression>
</guard>
<assignment
name="VAR_NAME"
More information about the CMF-checkins
mailing list