source: WAeUP_SRP/trunk/profiles/default/workflows/waeup_base_wf/definition.xml @ 316

Last change on this file since 316 was 300, checked in by Henrik Bettermann, 18 years ago

new themes and workflow definitions

File size: 3.2 KB
Line 
1<?xml version="1.0"?>
2<cps-workflow workflow_id="waeup_base_wf"
3              title="CPS Workflow Definition"
4              state_variable="review_state"
5              meta_type="CPS Workflow">
6 <permission>View</permission>
7 <state state_id="checked" title="Checked">
8  <exit-transition transition_id="create_content"/>
9  <exit-transition transition_id="cut_copy_paste"/>
10  <exit-transition transition_id="retract"/>
11 </state>
12 <state state_id="unchecked" title="Unchecked">
13  <exit-transition transition_id="approve"/>
14  <exit-transition transition_id="create_content"/>
15  <exit-transition transition_id="cut_copy_paste"/>
16 </state>
17 <state state_id="work" title="Work">
18  <exit-transition transition_id="create_content"/>
19  <exit-transition transition_id="cut_copy_paste"/>
20  <permission-map name="View" acquired="False">
21   <permission-role>Manager</permission-role>
22   <permission-role>SectionManager</permission-role>
23   <permission-role>SectionReviewer</permission-role>
24   <permission-role>SectionReader</permission-role>
25  </permission-map>
26 </state>
27 <transition transition_id="approve" title="Approve"
28             new_state="checked" trigger="USER"
29             before_script="" after_script="">
30  <action url="%(content_url)s/content_status_modify?workflow_action=approve"
31          category="workflow">Approve</action>
32  <guard>
33   <guard-role>Manager</guard-role>
34  </guard>
35 </transition>
36 <transition transition_id="create" title="Initial creation"
37             new_state="unchecked" trigger="USER"
38             before_script="" after_script="">
39 
40  <guard>
41   <guard-role>Manager</guard-role>
42   <guard-role>SectionManager</guard-role>
43   <guard-role>Contributor</guard-role>
44  </guard>
45  <transition-behavior behavior_id="initial-create"/>
46 </transition>
47 <transition transition_id="create_content"
48             title="Create content" new_state="work"
49             trigger="USER" before_script="" after_script="">
50 
51  <guard>
52   <guard-role>Manager</guard-role>
53   <guard-role>SectionManager</guard-role>
54   <guard-role>SectionReviewer</guard-role>
55   <guard-role>SectionReader</guard-role>
56   <guard-role>Contributor</guard-role>
57  </guard>
58  <transition-behavior behavior_id="allow-sub-create"/>
59  <transition-behavior behavior_id="allow-sub-publishing"/>
60 </transition>
61 <transition transition_id="cut_copy_paste"
62             title="Cut/Copy/Paste" new_state=""
63             trigger="USER" before_script="" after_script="">
64 
65  <guard>
66   <guard-role>Manager</guard-role>
67   <guard-role>SectionManager</guard-role>
68   <guard-role>SectionReviewer</guard-role>
69   <guard-role>SectionReader</guard-role>
70  </guard>
71  <transition-behavior behavior_id="allow-sub-move"/>
72  <transition-behavior behavior_id="allow-sub-delete"/>
73  <transition-behavior behavior_id="allow-sub-copy"/>
74 </transition>
75 <transition transition_id="retract" title="Retract"
76             new_state="unchecked" trigger="USER"
77             before_script="" after_script="">
78  <action url="%(content_url)s/content_status_modify?workflow_action=retract"
79          category="workflow">Retract</action>
80  <guard>
81   <guard-role>Manager</guard-role>
82  </guard>
83 </transition>
84</cps-workflow>
Note: See TracBrowser for help on using the repository browser.