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

Last change on this file since 15127 was 3689, checked in by Henrik Bettermann, 16 years ago

New BASE and EXTENSION profiles

File size: 3.0 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  <permission-map name="View" acquired="True">
12   <permission-role>SectionOfficer</permission-role>
13  </permission-map>
14 </state>
15 <state state_id="unchecked" title="Unchecked">
16  <exit-transition transition_id="approve"/>
17  <exit-transition transition_id="create_content"/>
18  <exit-transition transition_id="cut_copy_paste"/>
19  <permission-map name="View" acquired="True">
20   <permission-role>SectionOfficer</permission-role>
21  </permission-map>
22 </state>
23 <transition transition_id="approve" title="Approve"
24             new_state="checked" trigger="USER"
25             before_script="" after_script="">
26  <action url="%(content_url)s/content_status_modify?workflow_action=approve"
27          category="workflow">Approve</action>
28  <guard>
29   <guard-role>Manager</guard-role>
30   <guard-role>SectionManager</guard-role>
31   <guard-role>SectionOfficer</guard-role>
32  </guard>
33 </transition>
34 <transition transition_id="create" title="Initial creation"
35             new_state="unchecked" trigger="USER"
36             before_script="" after_script="">
37
38  <guard>
39   <guard-role>Manager</guard-role>
40   <guard-role>SectionManager</guard-role>
41   <guard-role>SectionOfficer</guard-role>
42  </guard>
43  <transition-behavior behavior_id="initial-create"/>
44 </transition>
45 <transition transition_id="create_content"
46             title="Create content" new_state=""
47             trigger="USER" before_script="" after_script="">
48
49  <guard>
50   <guard-role>Manager</guard-role>
51   <guard-role>SectionManager</guard-role>
52   <guard-role>SectionOfficer</guard-role>
53  </guard>
54  <transition-behavior behavior_id="allow-sub-create"/>
55  <transition-behavior behavior_id="allow-sub-publishing"/>
56 </transition>
57 <transition transition_id="cut_copy_paste"
58             title="Cut/Copy/Paste" new_state=""
59             trigger="USER" before_script="" after_script="">
60
61  <guard>
62   <guard-role>Manager</guard-role>
63   <guard-role>SectionManager</guard-role>
64   <guard-role>SectionOfficer</guard-role>
65  </guard>
66  <transition-behavior behavior_id="allow-sub-move"/>
67  <transition-behavior behavior_id="allow-sub-delete"/>
68  <transition-behavior behavior_id="allow-sub-copy"/>
69 </transition>
70 <transition transition_id="retract" title="Retract"
71             new_state="unchecked" trigger="USER"
72             before_script="" after_script="">
73  <action url="%(content_url)s/content_status_modify?workflow_action=retract"
74          category="workflow">Retract</action>
75  <guard>
76   <guard-role>Manager</guard-role>
77  </guard>
78 </transition>
79</cps-workflow>
Note: See TracBrowser for help on using the repository browser.