source: WAeUP_SRP/trunk/profiles/default/workflows/waeup_document_wf/definition.xml @ 10979

Last change on this file since 10979 was 3689, checked in by Henrik Bettermann, 16 years ago

New BASE and EXTENSION profiles

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