source: WAeUP_SRP/trunk/profiles/default/workflows/waeup_base_wf/definition.xml @ 975

Last change on this file since 975 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.8 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="checked" title="Checked">
8  <exit-transition transition_id="create_content"/>
9  <exit-transition transition_id="cut_copy_paste"/>
10  <exit-transition transition_id="retract"/>
11  <permission-map name="View" acquired="True">
12   <permission-role>SectionOfficer</permission-role>
13  </permission-map>
14 </state>
15 <state state_id="unchecked" title="Unchecked">
16  <exit-transition transition_id="approve"/>
17  <exit-transition transition_id="create_content"/>
18  <exit-transition transition_id="cut_copy_paste"/>
19  <permission-map name="View" acquired="True">
20   <permission-role>SectionOfficer</permission-role>
21  </permission-map>
22 </state>
23 <transition transition_id="approve" title="Approve"
24             new_state="checked" trigger="USER"
25             before_script="" after_script="">
26  <action url="%(content_url)s/content_status_modify?workflow_action=approve"
27          category="workflow">Approve</action>
28  <guard>
29   <guard-role>Manager</guard-role>
30   <guard-role>SectionManager</guard-role>
31  </guard>
32 </transition>
33 <transition transition_id="create" title="Initial creation"
34             new_state="unchecked" trigger="USER"
35             before_script="" after_script="">
36 
37  <guard>
38   <guard-role>Manager</guard-role>
39   <guard-role>SectionManager</guard-role>
40  </guard>
41  <transition-behavior behavior_id="initial-create"/>
42 </transition>
43 <transition transition_id="create_content"
44             title="Create content" new_state=""
45             trigger="USER" before_script="" after_script="">
46 
47  <guard>
48   <guard-role>Manager</guard-role>
49   <guard-role>SectionManager</guard-role>
50  </guard>
51  <transition-behavior behavior_id="allow-sub-create"/>
52  <transition-behavior behavior_id="allow-sub-publishing"/>
53 </transition>
54 <transition transition_id="cut_copy_paste"
55             title="Cut/Copy/Paste" new_state=""
56             trigger="USER" before_script="" after_script="">
57 
58  <guard>
59   <guard-role>Manager</guard-role>
60   <guard-role>SectionManager</guard-role>
61  </guard>
62  <transition-behavior behavior_id="allow-sub-move"/>
63  <transition-behavior behavior_id="allow-sub-delete"/>
64  <transition-behavior behavior_id="allow-sub-copy"/>
65 </transition>
66 <transition transition_id="retract" title="Retract"
67             new_state="unchecked" trigger="USER"
68             before_script="" after_script="">
69  <action url="%(content_url)s/content_status_modify?workflow_action=retract"
70          category="workflow">Retract</action>
71  <guard>
72   <guard-role>Manager</guard-role>
73  </guard>
74 </transition>
75</cps-workflow>
Note: See TracBrowser for help on using the repository browser.