Commit f1a8876a authored by Fabien Morin's avatar Fabien Morin

change a bit the workflow security : give more rights to the associate.

Change worklists url to use an dynamic expression instead of repeat role in role box and in url box, this should avoid some human errors.

reviewed and approved by Romain

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31276 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4a722d35
......@@ -78,6 +78,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Manager</string>
</tuple>
</value>
......@@ -88,6 +89,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Manager</string>
</tuple>
</value>
......@@ -98,6 +100,7 @@
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Manager</string>
</tuple>
</value>
......
......@@ -72,6 +72,7 @@
<value>
<tuple>
<string>Assignor</string>
<string>Associate</string>
</tuple>
</value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=refused&local_roles:list=Assignor&reset=1
apparel_model_module/view?validation_state=refused&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=draft&local_roles:list=Owner&reset=1
apparel_model_module/view?validation_state=draft&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=proposed&local_roles:list=Assignor&reset=1
apparel_model_module/view?validation_state=proposed&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=quoting&local_roles:list=Assignor&reset=1
apparel_model_module/view?validation_state=quoting&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......@@ -62,6 +62,7 @@ apparel_model_module/view?validation_state=quoting&local_roles:list=Assignor&res
<value>
<tuple>
<string>Assignor</string>
<string>Associate</string>
</tuple>
</value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=modeling&local_roles:list=Assignee&reset=1
apparel_model_module/view?validation_state=modeling&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=designed&local_roles:list=Assignor&local_roles:list=Assignee&reset=1
apparel_model_module/view?validation_state=designed&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=prototyping&local_roles:list=Assignor&local_roles:list=Assignee&reset=1
apparel_model_module/view?validation_state=prototyping&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=approved&local_roles:list=Assignee&reset=1
apparel_model_module/view?validation_state=approved&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......@@ -62,6 +62,7 @@ apparel_model_module/view?validation_state=approved&local_roles:list=Assignee&re
<value>
<tuple>
<string>Assignee</string>
<string>Associate</string>
</tuple>
</value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=analysed&local_roles:list=Assignor&reset=1
apparel_model_module/view?validation_state=analysed&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......
......@@ -21,7 +21,7 @@
<key> <string>actbox_url</string> </key>
<value> <string encoding="cdata"><![CDATA[
apparel_model_module/view?validation_state=priced&local_roles:list=Assignor&reset=1
apparel_model_module/view?validation_state=priced&local_roles=%(local_roles)s&reset=1
]]></string> </value>
</item>
......
236
\ No newline at end of file
238
\ 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