source: WAeUP-SRP/trunk/profiles/default/workflows/waeup_base_wf/definition.xml @ 272

Last change on this file since 272 was 207, checked in by joachim, 19 years ago

=new

File size: 2.0 KB
Line 
1<?xml version="1.0"?>
2<cps-workflow workflow_id="waeup_base_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-role>Contributor</guard-role>
25  </guard>
26  <transition-behavior behavior_id="initial-create"/>
27 </transition>
28 <transition transition_id="create_content"
29             title="Create content" new_state="work"
30             trigger="USER" before_script="" after_script="">
31 
32  <guard>
33   <guard-role>Manager</guard-role>
34   <guard-role>SectionManager</guard-role>
35   <guard-role>SectionReviewer</guard-role>
36   <guard-role>SectionReader</guard-role>
37   <guard-role>Contributor</guard-role>
38  </guard>
39  <transition-behavior behavior_id="allow-sub-create"/>
40  <transition-behavior behavior_id="allow-sub-publishing"/>
41 </transition>
42 <transition transition_id="cut_copy_paste"
43             title="Cut/Copy/Paste" new_state=""
44             trigger="USER" before_script="" after_script="">
45 
46  <guard>
47   <guard-role>Manager</guard-role>
48   <guard-role>SectionManager</guard-role>
49   <guard-role>SectionReviewer</guard-role>
50   <guard-role>SectionReader</guard-role>
51  </guard>
52  <transition-behavior behavior_id="allow-sub-move"/>
53  <transition-behavior behavior_id="allow-sub-delete"/>
54  <transition-behavior behavior_id="allow-sub-copy"/>
55 </transition>
56</cps-workflow>
Note: See TracBrowser for help on using the repository browser.