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

Last change on this file since 556 was 486, checked in by joachim, 18 years ago

svn -R propset svn:keywords "Id" .
added layout_application_/edit/create/view
and cleaned that up.

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