Commit c00c3636 authored by Jérome Perrin's avatar Jérome Perrin

Assignment Workflow:

* give Modify portal content to Manager role in closed state
* call Assignment_setStopDate in after script of close transition, and add a Manager proxy role to this script.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21172 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5fb1b020
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.States</string>
<string>StateDefinition</string>
</tuple>
<none/>
<global name="StateDefinition" module="Products.DCWorkflow.States"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -51,17 +48,14 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Persistence</string>
<string>PersistentMapping</string>
</tuple>
<none/>
<global name="PersistentMapping" module="Persistence.mapping"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_container</string> </key>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
......@@ -78,7 +72,9 @@
<item>
<key> <string>Modify portal content</string> </key>
<value>
<tuple/>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Transitions</string>
<string>TransitionDefinition</string>
</tuple>
<none/>
<global name="TransitionDefinition" module="Products.DCWorkflow.Transitions"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -32,7 +29,7 @@
</item>
<item>
<key> <string>after_script_name</string> </key>
<value> <string>Assignment_updateUserSecurityGroup</string> </value>
<value> <string>Assignment_setStopDate</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -54,7 +51,7 @@
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string></string> </value>
<value> <string>Assignment_updateUserSecurityGroup</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -51,7 +51,7 @@
</item>
<item>
<key> <string>script_name</string> </key>
<value> <string>Assignment_setStopDate</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.DCWorkflow.Worklists</string>
<string>Worklists</string>
</tuple>
<none/>
<global name="Worklists" module="Products.DCWorkflow.Worklists"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
307
\ No newline at end of file
309
\ 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