1 | <?xml version="1.0"?>
|
---|
2 | <cps-workflow workflow_id="waeup_section_wf"
|
---|
3 | title="CPS Workflow Definition"
|
---|
4 | state_variable="review_state"
|
---|
5 | meta_type="CPS Workflow">
|
---|
6 | <permission>View</permission>
|
---|
7 | <state state_id="static" title="">
|
---|
8 | <exit-transition transition_id="create_content"/>
|
---|
9 | <exit-transition transition_id="cut_copy_paste"/>
|
---|
10 | <permission-map name="View" acquired="False">
|
---|
11 | <permission-role>Manager</permission-role>
|
---|
12 | <permission-role>SectionManager</permission-role>
|
---|
13 | <permission-role>SectionOfficer</permission-role>
|
---|
14 | <permission-role>SectionReader</permission-role>
|
---|
15 | <permission-role>SectionReviewer</permission-role>
|
---|
16 | </permission-map>
|
---|
17 | </state>
|
---|
18 | <transition transition_id="create" title="Initial creation"
|
---|
19 | new_state="static" trigger="USER"
|
---|
20 | before_script="" after_script="">
|
---|
21 |
|
---|
22 | <guard>
|
---|
23 | <guard-role>Manager</guard-role>
|
---|
24 | <guard-role>SectionManager</guard-role>
|
---|
25 | <guard-role>SectionOfficer</guard-role>
|
---|
26 | </guard>
|
---|
27 | <transition-behavior behavior_id="initial-create"/>
|
---|
28 | </transition>
|
---|
29 | <transition transition_id="create_content"
|
---|
30 | title="Create content" new_state=""
|
---|
31 | trigger="USER" before_script="" after_script="">
|
---|
32 |
|
---|
33 | <guard>
|
---|
34 | <guard-role>Manager</guard-role>
|
---|
35 | <guard-role>SectionManager</guard-role>
|
---|
36 | <guard-role>SectionReviewer</guard-role>
|
---|
37 | <guard-role>SectionReader</guard-role>
|
---|
38 | <guard-role>SectionOfficer</guard-role>
|
---|
39 | </guard>
|
---|
40 | <transition-behavior behavior_id="allow-sub-create"/>
|
---|
41 | <transition-behavior behavior_id="allow-sub-publishing"/>
|
---|
42 | </transition>
|
---|
43 | <transition transition_id="cut_copy_paste"
|
---|
44 | title="Cut/Copy/Paste" new_state=""
|
---|
45 | trigger="USER" before_script="" after_script="">
|
---|
46 |
|
---|
47 | <guard>
|
---|
48 | <guard-role>Manager</guard-role>
|
---|
49 | <guard-role>SectionManager</guard-role>
|
---|
50 | <guard-role>SectionReviewer</guard-role>
|
---|
51 | <guard-role>SectionReader</guard-role>
|
---|
52 | <guard-role>SectionOfficer</guard-role>
|
---|
53 | </guard>
|
---|
54 | <transition-behavior behavior_id="allow-sub-delete"/>
|
---|
55 | <transition-behavior behavior_id="allow-sub-move"/>
|
---|
56 | <transition-behavior behavior_id="allow-sub-copy"/>
|
---|
57 | </transition>
|
---|
58 | </cps-workflow>
|
---|