1 | <?xml version="1.0"?>
|
---|
2 | <?xml-stylesheet type="text/xsl" href="../definition.xsl"?>
|
---|
3 | <cps-workflow workflow_id="waeup_student_subobject_wf"
|
---|
4 | title="CPS Workflow Definition"
|
---|
5 | state_variable="review_state"
|
---|
6 | meta_type="CPS Workflow">
|
---|
7 | <permission>Add portal content</permission>
|
---|
8 | <permission>Delete objects</permission>
|
---|
9 | <permission>Modify portal content</permission>
|
---|
10 | <permission>View</permission>
|
---|
11 | <permission>View</permission>
|
---|
12 | <state state_id="closed" title="">
|
---|
13 | <exit-transition transition_id="create_content"/>
|
---|
14 | <exit-transition transition_id="open"/>
|
---|
15 | <permission-map name="Add portal content" acquired="True">
|
---|
16 | <permission-role>CourseAdviser</permission-role>
|
---|
17 | <permission-role>SectionOfficer</permission-role>
|
---|
18 | </permission-map>
|
---|
19 | <permission-map name="Delete objects" acquired="False">
|
---|
20 | <permission-role>CourseAdviser</permission-role>
|
---|
21 | <permission-role>Manager</permission-role>
|
---|
22 | <permission-role>SectionManager</permission-role>
|
---|
23 | </permission-map>
|
---|
24 | <permission-map name="Modify portal content"
|
---|
25 | acquired="True">
|
---|
26 | <permission-role>ClearanceOfficer</permission-role>
|
---|
27 | <permission-role>CourseAdviser</permission-role>
|
---|
28 | <permission-role>SectionOfficer</permission-role>
|
---|
29 | </permission-map>
|
---|
30 | <permission-map name="View" acquired="True">
|
---|
31 | <permission-role>CourseAdviser</permission-role>
|
---|
32 | <permission-role>SectionOfficer</permission-role>
|
---|
33 | </permission-map>
|
---|
34 | </state>
|
---|
35 | <state state_id="content_addable" title="">
|
---|
36 | <exit-transition transition_id="close"/>
|
---|
37 | <exit-transition transition_id="create_content"/>
|
---|
38 | <exit-transition transition_id="open"/>
|
---|
39 | <permission-map name="Add portal content" acquired="True">
|
---|
40 | <permission-role>CourseAdviser</permission-role>
|
---|
41 | <permission-role>Owner</permission-role>
|
---|
42 | <permission-role>SectionOfficer</permission-role>
|
---|
43 | </permission-map>
|
---|
44 | <permission-map name="Delete objects" acquired="False">
|
---|
45 | <permission-role>CourseAdviser</permission-role>
|
---|
46 | <permission-role>Manager</permission-role>
|
---|
47 | <permission-role>Owner</permission-role>
|
---|
48 | <permission-role>SectionManager</permission-role>
|
---|
49 | <permission-role>SectionOfficer</permission-role>
|
---|
50 | </permission-map>
|
---|
51 | <permission-map name="Modify portal content"
|
---|
52 | acquired="True">
|
---|
53 | <permission-role>CourseAdviser</permission-role>
|
---|
54 | <permission-role>SectionOfficer</permission-role>
|
---|
55 | </permission-map>
|
---|
56 | <permission-map name="View" acquired="True">
|
---|
57 | <permission-role>CourseAdviser</permission-role>
|
---|
58 | <permission-role>SectionOfficer</permission-role>
|
---|
59 | </permission-map>
|
---|
60 | </state>
|
---|
61 | <state state_id="created" title="">
|
---|
62 | <exit-transition transition_id="close"/>
|
---|
63 | <exit-transition transition_id="close_for_edit"/>
|
---|
64 | <exit-transition transition_id="create_content"/>
|
---|
65 | <exit-transition transition_id="open"/>
|
---|
66 | <permission-map name="Add portal content" acquired="True">
|
---|
67 | <permission-role>SectionOfficer</permission-role>
|
---|
68 | </permission-map>
|
---|
69 | <permission-map name="Delete objects" acquired="False">
|
---|
70 | <permission-role>Manager</permission-role>
|
---|
71 | <permission-role>SectionManager</permission-role>
|
---|
72 | </permission-map>
|
---|
73 | <permission-map name="Modify portal content"
|
---|
74 | acquired="True">
|
---|
75 | <permission-role>SectionOfficer</permission-role>
|
---|
76 | </permission-map>
|
---|
77 | <permission-map name="View" acquired="True">
|
---|
78 | <permission-role>Anonymous</permission-role>
|
---|
79 | <permission-role>Owner</permission-role>
|
---|
80 | <permission-role>SectionOfficer</permission-role>
|
---|
81 | </permission-map>
|
---|
82 | </state>
|
---|
83 | <state state_id="opened" title="">
|
---|
84 | <exit-transition transition_id="close"/>
|
---|
85 | <exit-transition transition_id="close_for_edit"/>
|
---|
86 | <exit-transition transition_id="create_content"/>
|
---|
87 | <permission-map name="Add portal content" acquired="True">
|
---|
88 | <permission-role>SectionOfficer</permission-role>
|
---|
89 | </permission-map>
|
---|
90 | <permission-map name="Delete objects" acquired="False">
|
---|
91 | <permission-role>Manager</permission-role>
|
---|
92 | <permission-role>SectionManager</permission-role>
|
---|
93 | </permission-map>
|
---|
94 | <permission-map name="Modify portal content"
|
---|
95 | acquired="True">
|
---|
96 | <permission-role>Owner</permission-role>
|
---|
97 | <permission-role>SectionOfficer</permission-role>
|
---|
98 | </permission-map>
|
---|
99 | <permission-map name="View" acquired="True">
|
---|
100 | <permission-role>Owner</permission-role>
|
---|
101 | <permission-role>SectionOfficer</permission-role>
|
---|
102 | </permission-map>
|
---|
103 | </state>
|
---|
104 | <transition transition_id="close" title=""
|
---|
105 | new_state="closed" trigger="USER"
|
---|
106 | before_script="" after_script="">
|
---|
107 |
|
---|
108 | <guard>
|
---|
109 | <guard-role>SectionOfficer</guard-role>
|
---|
110 | <guard-role>Manager</guard-role>
|
---|
111 | <guard-role>SectionManager</guard-role>
|
---|
112 | <guard-role>Owner</guard-role>
|
---|
113 | <guard-role>CourseAdviser</guard-role>
|
---|
114 | </guard>
|
---|
115 | </transition>
|
---|
116 | <transition transition_id="close_for_edit" title=""
|
---|
117 | new_state="content_addable" trigger="USER"
|
---|
118 | before_script="" after_script="">
|
---|
119 |
|
---|
120 | <guard>
|
---|
121 | <guard-role>SectionOfficer</guard-role>
|
---|
122 | <guard-role>Manager</guard-role>
|
---|
123 | <guard-role>SectionManager</guard-role>
|
---|
124 | <guard-role>Owner</guard-role>
|
---|
125 | <guard-role>CourseAdviser</guard-role>
|
---|
126 | </guard>
|
---|
127 | </transition>
|
---|
128 | <transition transition_id="create" title=""
|
---|
129 | new_state="created" trigger="USER"
|
---|
130 | before_script="" after_script="">
|
---|
131 |
|
---|
132 | <guard>
|
---|
133 | </guard>
|
---|
134 | <transition-behavior behavior_id="allow-sub-create"/>
|
---|
135 | <transition-behavior behavior_id="initial-create"/>
|
---|
136 | </transition>
|
---|
137 | <transition transition_id="create_content" title=""
|
---|
138 | new_state="" trigger="USER" before_script=""
|
---|
139 | after_script="">
|
---|
140 |
|
---|
141 | <guard>
|
---|
142 | </guard>
|
---|
143 | <transition-behavior behavior_id="allow-sub-create"/>
|
---|
144 | </transition>
|
---|
145 | <transition transition_id="open" title=""
|
---|
146 | new_state="opened" trigger="USER"
|
---|
147 | before_script="" after_script="">
|
---|
148 |
|
---|
149 | <guard>
|
---|
150 | <guard-role>SectionOfficer</guard-role>
|
---|
151 | <guard-role>ClearanceOfficer</guard-role>
|
---|
152 | <guard-role>Manager</guard-role>
|
---|
153 | <guard-role>SectionManager</guard-role>
|
---|
154 | <guard-role>Owner</guard-role>
|
---|
155 | <guard-role>CourseAdviser</guard-role>
|
---|
156 | </guard>
|
---|
157 | </transition>
|
---|
158 | </cps-workflow> |
---|