[CMF-checkins]
CVS: CMF/CMFSetup/profiles/default/workflows/default_workflow
- definition.xml:1.1.2.1
Yvo Schubbe
y.2004_ at wcm-solutions.de
Sun Jul 18 18:23:10 EDT 2004
Update of /cvs-repository/CMF/CMFSetup/profiles/default/workflows/default_workflow
In directory cvs.zope.org:/tmp/cvs-serv21028/CMFSetup/profiles/default/workflows/default_workflow
Modified Files:
Tag: yuppie-actions-cleanup-branch
definition.xml
Log Message:
- updated default profile using CMFDefault export
=== CMF/CMFSetup/profiles/default/workflows/default_workflow/definition.xml 1.1 => 1.1.2.1 ===
--- CMF/CMFSetup/profiles/default/workflows/default_workflow/definition.xml:1.1 Thu Jun 24 16:32:20 2004
+++ CMF/CMFSetup/profiles/default/workflows/default_workflow/definition.xml Sun Jul 18 18:23:09 2004
@@ -6,47 +6,51 @@
<permission>Access contents information</permission>
<permission>Modify portal content</permission>
<permission>View</permission>
- <state state_id="pending" title="Waiting for reviewer">
+ <state state_id="private"
+ title="Non-visible and editable only by owner">
+ <exit-transition transition_id="submit"/>
<exit-transition transition_id="publish"/>
- <exit-transition transition_id="reject"/>
- <exit-transition transition_id="retract"/>
<permission-map name="Modify portal content"
acquired="False">
<permission-role>Manager</permission-role>
- <permission-role>Reviewer</permission-role>
+ <permission-role>Owner</permission-role>
</permission-map>
<permission-map name="Access contents information"
- acquired="True">
+ acquired="False">
<permission-role>Manager</permission-role>
<permission-role>Owner</permission-role>
- <permission-role>Reviewer</permission-role>
</permission-map>
- <permission-map name="View" acquired="True">
+ <permission-map name="View" acquired="False">
<permission-role>Manager</permission-role>
<permission-role>Owner</permission-role>
- <permission-role>Reviewer</permission-role>
</permission-map>
+
+
</state>
- <state state_id="private"
- title="Non-visible and editable only by owner">
+ <state state_id="pending" title="Waiting for reviewer">
- <exit-transition transition_id="submit"/>
<exit-transition transition_id="publish"/>
+ <exit-transition transition_id="reject"/>
+ <exit-transition transition_id="retract"/>
<permission-map name="Modify portal content"
acquired="False">
<permission-role>Manager</permission-role>
- <permission-role>Owner</permission-role>
+ <permission-role>Reviewer</permission-role>
</permission-map>
<permission-map name="Access contents information"
- acquired="False">
+ acquired="True">
<permission-role>Manager</permission-role>
<permission-role>Owner</permission-role>
+ <permission-role>Reviewer</permission-role>
</permission-map>
- <permission-map name="View" acquired="False">
+ <permission-map name="View" acquired="True">
<permission-role>Manager</permission-role>
<permission-role>Owner</permission-role>
+ <permission-role>Reviewer</permission-role>
</permission-map>
+
+
</state>
<state state_id="published" title="Public">
@@ -65,6 +69,8 @@
<permission-role>Anonymous</permission-role>
<permission-role>Manager</permission-role>
</permission-map>
+
+
</state>
<transition transition_id="retract"
title="Member retracts submission"
@@ -75,20 +81,11 @@
category="workflow">Retract</action>
<guard>
<guard-permission>Request review</guard-permission>
+
+
</guard>
- </transition>
- <transition transition_id="submit"
- title="Member requests publishing"
- new_state="pending" trigger="USER"
- before_script="" after_script="">
-
- <action url="%(content_url)s/content_submit_form"
- category="workflow">Submit</action>
- <guard>
- <guard-permission>Request review</guard-permission>
-
- </guard>
+
</transition>
<transition transition_id="publish"
title="Reviewer publishes content"
@@ -99,8 +96,26 @@
category="workflow">Publish</action>
<guard>
<guard-permission>Review portal content</guard-permission>
+
+
+
+ </guard>
+
+ </transition>
+ <transition transition_id="submit"
+ title="Member requests publishing"
+ new_state="pending" trigger="USER"
+ before_script="" after_script="">
+
+ <action url="%(content_url)s/content_submit_form"
+ category="workflow">Submit</action>
+ <guard>
+ <guard-permission>Request review</guard-permission>
+
+
</guard>
+
</transition>
<transition transition_id="reject"
title="Reviewer rejects submission"
@@ -111,8 +126,11 @@
category="workflow">Reject</action>
<guard>
<guard-permission>Review portal content</guard-permission>
+
+
</guard>
+
</transition>
<worklist worklist_id="reviewer_queue" title="">
Reviewer tasks
@@ -120,6 +138,8 @@
category="global">Pending (%(count)d)</action>
<guard>
<guard-permission>Review portal content</guard-permission>
+
+
</guard>
<match name="review_state" values="pending"/>
@@ -132,53 +152,68 @@
<expression>transition/getId|nothing</expression>
</default>
<guard>
+
+
+
</guard>
</variable>
- <variable variable_id="time" for_catalog="False"
- for_status="True" update_always="True">
- Time of the last transition
+ <variable variable_id="review_history" for_catalog="False"
+ for_status="False" update_always="False">
+ Provides access to workflow history
<default>
- <expression>state_change/getDateTime</expression>
+ <expression>state_change/getHistory</expression>
</default>
<guard>
+ <guard-permission>Request review</guard-permission>
+ <guard-permission>Review portal content</guard-permission>
+
+
</guard>
</variable>
- <variable variable_id="comments" for_catalog="False"
+ <variable variable_id="actor" for_catalog="False"
for_status="True" update_always="True">
- Comments about the last transition
+ The ID of the user who performed the last transition
<default>
- <expression>python:state_change.kwargs.get('comment', '')</expression>
+ <expression>user/getId</expression>
</default>
<guard>
+
+
+
</guard>
</variable>
- <variable variable_id="actor" for_catalog="False"
+ <variable variable_id="comments" for_catalog="False"
for_status="True" update_always="True">
- The ID of the user who performed the last transition
+ Comments about the last transition
<default>
- <expression>user/getId</expression>
+ <expression>python:state_change.kwargs.get('comment', '')</expression>
</default>
<guard>
+
+
+
</guard>
</variable>
- <variable variable_id="review_history" for_catalog="False"
- for_status="False" update_always="False">
- Provides access to workflow history
+ <variable variable_id="time" for_catalog="False"
+ for_status="True" update_always="True">
+ Time of the last transition
<default>
- <expression>state_change/getHistory</expression>
+ <expression>state_change/getDateTime</expression>
</default>
<guard>
- <guard-permission>Request review</guard-permission>
- <guard-permission>Review portal content</guard-permission>
+
+
+
</guard>
</variable>
+
</dc-workflow>
More information about the CMF-checkins
mailing list