Commit f90f77eb authored by Romain Courteaud's avatar Romain Courteaud

Update task_report_workflow configuration: improve permissions and worklists

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20021 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4c79cba2
...@@ -65,11 +65,11 @@ ...@@ -65,11 +65,11 @@
<key> <string>Access contents information</string> </key> <key> <string>Access contents information</string> </key>
<value> <value>
<tuple> <tuple>
<string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string> <string>Associate</string>
<string>Auditor</string> <string>Auditor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -95,11 +95,11 @@ ...@@ -95,11 +95,11 @@
<key> <string>View</string> </key> <key> <string>View</string> </key>
<value> <value>
<tuple> <tuple>
<string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string> <string>Associate</string>
<string>Auditor</string> <string>Auditor</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -85,9 +85,7 @@ ...@@ -85,9 +85,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string> <string>Associate</string>
<string>Auditor</string> <string>Auditor</string>
<string>Author</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -97,6 +95,7 @@ ...@@ -97,6 +95,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -107,6 +106,7 @@ ...@@ -107,6 +106,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -130,9 +130,7 @@ ...@@ -130,9 +130,7 @@
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string> <string>Associate</string>
<string>Auditor</string> <string>Auditor</string>
<string>Author</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
<string>confirm_action</string> <string>confirm_action</string>
<string>delete</string> <string>delete</string>
<string>delete_action</string> <string>delete_action</string>
<string>deliver</string> <string>start</string>
<string>deliver_action</string> <string>start_action</string>
<string>stop</string> <string>stop</string>
<string>stop_action</string> <string>stop_action</string>
</tuple> </tuple>
...@@ -95,7 +95,9 @@ ...@@ -95,7 +95,9 @@
<key> <string>Add portal content</string> </key> <key> <string>Add portal content</string> </key>
<value> <value>
<tuple> <tuple>
<string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string> <string>Owner</string>
</tuple> </tuple>
...@@ -105,7 +107,9 @@ ...@@ -105,7 +107,9 @@
<key> <string>Delete objects</string> </key> <key> <string>Delete objects</string> </key>
<value> <value>
<tuple> <tuple>
<string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string>
<string>Manager</string> <string>Manager</string>
<string>Owner</string> <string>Owner</string>
</tuple> </tuple>
...@@ -115,6 +119,7 @@ ...@@ -115,6 +119,7 @@
<key> <string>Modify portal content</string> </key> <key> <string>Modify portal content</string> </key>
<value> <value>
<tuple> <tuple>
<string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string> <string>Associate</string>
<string>Manager</string> <string>Manager</string>
......
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -97,6 +98,7 @@ ...@@ -97,6 +98,7 @@
<tuple> <tuple>
<string>Assignee</string> <string>Assignee</string>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
...@@ -92,6 +93,7 @@ ...@@ -92,6 +93,7 @@
<value> <value>
<tuple> <tuple>
<string>Assignor</string> <string>Assignor</string>
<string>Associate</string>
<string>Manager</string> <string>Manager</string>
</tuple> </tuple>
</value> </value>
......
...@@ -21,19 +21,19 @@ ...@@ -21,19 +21,19 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string>Started Tasks (%(count)s)</string> </value> <value> <string>Task Reports to validate (%(count)s)</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_roles=%(local_roles)s&reset=1 task_report_module?simulation_state=confirmed&local_roles=%(local_roles)s&reset=1
]]></string> </value> ]]></string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Tasks assigned by a manager which are being processed</string> </value> <value> <string>Task Reports to validate</string> </value>
</item> </item>
<item> <item>
<key> <string>guard</string> </key> <key> <string>guard</string> </key>
...@@ -43,7 +43,7 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro ...@@ -43,7 +43,7 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>assignor_started_task</string> </value> <value> <string>1_draft_task_report_list</string> </value>
</item> </item>
<item> <item>
<key> <string>var_matches</string> </key> <key> <string>var_matches</string> </key>
...@@ -57,11 +57,8 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro ...@@ -57,11 +57,8 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -70,7 +67,9 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro ...@@ -70,7 +67,9 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro
<key> <string>roles</string> </key> <key> <string>roles</string> </key>
<value> <value>
<tuple> <tuple>
<string>Owner</string>
<string>Assignor</string> <string>Assignor</string>
<string>Assignee</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -80,24 +79,21 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro ...@@ -80,24 +79,21 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>simulation_state</string> </key> <key> <string>simulation_state</string> </key>
<value> <value>
<tuple> <tuple>
<string>started</string> <string>draft</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string>Assigned Tasks (%(count)s)</string> </value> <value> <string>Tasks to start (%(count)s)</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
task_report_module?simulation_state=confirmed&portal_type=Task+Report&local_roles=%(local_roles)s&reset=1 task_report_module?simulation_state=confirmedlocal_roles=%(local_roles)s&reset=1
]]></string> </value> ]]></string> </value>
</item> </item>
...@@ -43,7 +43,7 @@ task_report_module?simulation_state=confirmed&portal_type=Task+Report&local_role ...@@ -43,7 +43,7 @@ task_report_module?simulation_state=confirmed&portal_type=Task+Report&local_role
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>assignee_confirmed_task</string> </value> <value> <string>2_assignee_confirmed_task</string> </value>
</item> </item>
<item> <item>
<key> <string>var_matches</string> </key> <key> <string>var_matches</string> </key>
...@@ -57,11 +57,8 @@ task_report_module?simulation_state=confirmed&portal_type=Task+Report&local_role ...@@ -57,11 +57,8 @@ task_report_module?simulation_state=confirmed&portal_type=Task+Report&local_role
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -80,17 +77,14 @@ task_report_module?simulation_state=confirmed&portal_type=Task+Report&local_role ...@@ -80,17 +77,14 @@ task_report_module?simulation_state=confirmed&portal_type=Task+Report&local_role
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
......
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string>Started Tasks (%(count)s)</string> </value> <value> <string>Tasks to finish (%(count)s)</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_roles=%(local_roles)s&reset=1 task_report_module?simulation_state=started&local_roles=%(local_roles)s&reset=1
]]></string> </value> ]]></string> </value>
</item> </item>
...@@ -43,7 +43,7 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro ...@@ -43,7 +43,7 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>assignee_started_task</string> </value> <value> <string>3_assignee_started_task</string> </value>
</item> </item>
<item> <item>
<key> <string>var_matches</string> </key> <key> <string>var_matches</string> </key>
...@@ -57,11 +57,8 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro ...@@ -57,11 +57,8 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -80,17 +77,14 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro ...@@ -80,17 +77,14 @@ task_report_module?simulation_state=started&portal_type=%(portal_type)s&local_ro
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
......
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string>Assigned Tasks (%(count)s)</string> </value> <value> <string>Tasks to follow (%(count)s)</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
task_report_module?simulation_state=confirmed&portal_type=%(portal_type)s&local_roles=%(local_roles)s&reset=1 task_report_module?simulation_state:list=confirmed&simulation_state:list=started&local_roles=%(local_roles)s&reset=1
]]></string> </value> ]]></string> </value>
</item> </item>
...@@ -43,7 +43,7 @@ task_report_module?simulation_state=confirmed&portal_type=%(portal_type)s&local_ ...@@ -43,7 +43,7 @@ task_report_module?simulation_state=confirmed&portal_type=%(portal_type)s&local_
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>assignor_confirmed_task</string> </value> <value> <string>4_assignor_confirmed_task</string> </value>
</item> </item>
<item> <item>
<key> <string>var_matches</string> </key> <key> <string>var_matches</string> </key>
...@@ -57,11 +57,8 @@ task_report_module?simulation_state=confirmed&portal_type=%(portal_type)s&local_ ...@@ -57,11 +57,8 @@ task_report_module?simulation_state=confirmed&portal_type=%(portal_type)s&local_
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -80,17 +77,14 @@ task_report_module?simulation_state=confirmed&portal_type=%(portal_type)s&local_ ...@@ -80,17 +77,14 @@ task_report_module?simulation_state=confirmed&portal_type=%(portal_type)s&local_
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
...@@ -98,6 +92,7 @@ task_report_module?simulation_state=confirmed&portal_type=%(portal_type)s&local_ ...@@ -98,6 +92,7 @@ task_report_module?simulation_state=confirmed&portal_type=%(portal_type)s&local_
<value> <value>
<tuple> <tuple>
<string>confirmed</string> <string>confirmed</string>
<string>started</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string>Finished Tasks (%(count)s)</string> </value> <value> <string>Tasks to close (%(count)s)</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[ <value> <string encoding="cdata"><![CDATA[
task_report_module?simulation_state=stopped&portal_type=%(portal_type)s&local_roles=%(local_roles)s&reset=1 task_report_module?simulation_state=stopped&local_roles=%(local_roles)s&reset=1
]]></string> </value> ]]></string> </value>
</item> </item>
...@@ -43,7 +43,7 @@ task_report_module?simulation_state=stopped&portal_type=%(portal_type)s&local_ro ...@@ -43,7 +43,7 @@ task_report_module?simulation_state=stopped&portal_type=%(portal_type)s&local_ro
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>assignor_stopped_task</string> </value> <value> <string>5_assignor_stopped_task</string> </value>
</item> </item>
<item> <item>
<key> <string>var_matches</string> </key> <key> <string>var_matches</string> </key>
...@@ -57,11 +57,8 @@ task_report_module?simulation_state=stopped&portal_type=%(portal_type)s&local_ro ...@@ -57,11 +57,8 @@ task_report_module?simulation_state=stopped&portal_type=%(portal_type)s&local_ro
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="Guard" module="Products.DCWorkflow.Guard"/>
<string>Products.DCWorkflow.Guard</string> <tuple/>
<string>Guard</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -80,17 +77,14 @@ task_report_module?simulation_state=stopped&portal_type=%(portal_type)s&local_ro ...@@ -80,17 +77,14 @@ task_report_module?simulation_state=stopped&portal_type=%(portal_type)s&local_ro
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PersistentMapping" module="Persistence.mapping"/>
<string>Persistence</string> <tuple/>
<string>PersistentMapping</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_container</string> </key> <key> <string>data</string> </key>
<value> <value>
<dictionary> <dictionary>
<item> <item>
......
440 441
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment