source: WAeUP_SRP/trunk/profiles/default/workflows/waeup_accommodation_wf/definition.xml @ 1072

Last change on this file since 1072 was 939, checked in by Henrik Bettermann, 18 years ago

waeup_section_wf instead of section_folder_wf
SectionOfficer? role added to most managed permission sets and transition guards

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