1 | <?xml version="1.0"?>
|
---|
2 | <cps-workflow workflow_id="waeup_document_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="True">
|
---|
11 | <permission-role>Anonymous</permission-role>
|
---|
12 | <permission-role>Manager</permission-role>
|
---|
13 | <permission-role>SectionManager</permission-role>
|
---|
14 | <permission-role>SectionOfficer</permission-role>
|
---|
15 | <permission-role>SectionReader</permission-role>
|
---|
16 | <permission-role>SectionReviewer</permission-role>
|
---|
17 | </permission-map>
|
---|
18 | </state>
|
---|
19 | <transition transition_id="create" title="Initial creation"
|
---|
20 | new_state="static" trigger="USER"
|
---|
21 | before_script="" after_script="">
|
---|
22 |
|
---|
23 | <guard>
|
---|
24 | <guard-role>Manager</guard-role>
|
---|
25 | <guard-role>SectionManager</guard-role>
|
---|
26 | <guard-role>SectionOfficer</guard-role>
|
---|
27 | </guard>
|
---|
28 | <transition-behavior behavior_id="initial-create"/>
|
---|
29 | </transition>
|
---|
30 | <transition transition_id="create_content"
|
---|
31 | title="Create content" new_state=""
|
---|
32 | trigger="USER" before_script="" after_script="">
|
---|
33 |
|
---|
34 | <guard>
|
---|
35 | <guard-role>Manager</guard-role>
|
---|
36 | <guard-role>SectionManager</guard-role>
|
---|
37 | <guard-role>SectionReviewer</guard-role>
|
---|
38 | <guard-role>SectionReader</guard-role>
|
---|
39 | <guard-role>SectionOfficer</guard-role>
|
---|
40 | </guard>
|
---|
41 | <transition-behavior behavior_id="allow-sub-create"/>
|
---|
42 | <transition-behavior behavior_id="allow-sub-publishing"/>
|
---|
43 | </transition>
|
---|
44 | <transition transition_id="cut_copy_paste"
|
---|
45 | title="Cut/Copy/Paste" new_state=""
|
---|
46 | trigger="USER" before_script="" after_script="">
|
---|
47 |
|
---|
48 | <guard>
|
---|
49 | <guard-role>Manager</guard-role>
|
---|
50 | <guard-role>SectionManager</guard-role>
|
---|
51 | <guard-role>SectionReviewer</guard-role>
|
---|
52 | <guard-role>SectionReader</guard-role>
|
---|
53 | <guard-role>SectionOfficer</guard-role>
|
---|
54 | </guard>
|
---|
55 | <transition-behavior behavior_id="allow-sub-delete"/>
|
---|
56 | <transition-behavior behavior_id="allow-sub-move"/>
|
---|
57 | <transition-behavior behavior_id="allow-sub-copy"/>
|
---|
58 | </transition>
|
---|
59 | </cps-workflow>
|
---|