source: waeup_product/trunk/profiles/default/workflows/waeup_studycourse.xml @ 260

Last change on this file since 260 was 238, checked in by joachim, 19 years ago

=import csv

File size: 2.0 KB
Line 
1<?xml version="1.0"?>
2<cps-workflow workflow_id="waeup_studycourse_wf"
3              title="CPS Workflow Definition"
4              state_variable="review_state"
5              meta_type="CPS Workflow">
6 <permission>View</permission>
7 <state state_id="work" title="Work">
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>SectionReviewer</permission-role>
14   <permission-role>SectionReader</permission-role>
15  </permission-map>
16 </state>
17 <transition transition_id="create" title="Initial creation"
18             new_state="work" trigger="USER"
19             before_script="" after_script="">
20 
21  <guard>
22   <guard-role>Manager</guard-role>
23   <guard-role>SectionManager</guard-role>
24  </guard>
25  <transition-behavior behavior_id="initial-create"/>
26 </transition>
27 <transition transition_id="create_content"
28             title="Create content" new_state="work"
29             trigger="USER" before_script="" after_script="">
30 
31  <guard>
32   <guard-role>Manager</guard-role>
33   <guard-role>SectionManager</guard-role>
34   <guard-role>SectionReviewer</guard-role>
35   <guard-role>SectionReader</guard-role>
36  </guard>
37  <transition-behavior behavior_id="allow-sub-create"/>
38  <transition-behavior behavior_id="allow-sub-publishing"/>
39 </transition>
40 <transition transition_id="cut_copy_paste"
41             title="Cut/Copy/Paste" new_state=""
42             trigger="USER" before_script="" after_script="">
43 
44  <guard>
45   <guard-role>Manager</guard-role>
46   <guard-role>SectionManager</guard-role>
47   <guard-role>SectionReviewer</guard-role>
48   <guard-role>SectionReader</guard-role>
49  </guard>
50  <transition-behavior behavior_id="allow-sub-move"/>
51  <transition-behavior behavior_id="allow-sub-delete"/>
52  <transition-behavior behavior_id="allow-sub-copy"/>
53 </transition>
54</cps-workflow>
Note: See TracBrowser for help on using the repository browser.