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