Commit a874a30b authored by Romain Courteaud's avatar Romain Courteaud

erp5_project: show draft project worklist to Assignee/Assignor

only Assignee/Assignore can validate Project
parent 6546e47f
...@@ -52,6 +52,12 @@ project_module?validation_state=draft&portal_type=%(portal_type)s&local_roles=%( ...@@ -52,6 +52,12 @@ project_module?validation_state=draft&portal_type=%(portal_type)s&local_roles=%(
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Project to Open</string> </value> <value> <string>Project to Open</string> </value>
</item> </item>
<item>
<key> <string>guard_expression</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>guard_group</string> </key> <key> <string>guard_group</string> </key>
<value> <value>
...@@ -100,25 +106,27 @@ project_module?validation_state=draft&portal_type=%(portal_type)s&local_roles=%( ...@@ -100,25 +106,27 @@ project_module?validation_state=draft&portal_type=%(portal_type)s&local_roles=%(
<item> <item>
<key> <string>local_roles</string> </key> <key> <string>local_roles</string> </key>
<value> <value>
<tuple> <list>
<string>Owner</string> <string>Owner</string>
</tuple> <string>Assignee</string>
<string>Assignor</string>
</list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <value>
<tuple> <list>
<string>Project</string> <string>Project</string>
</tuple> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>validation_state</string> </key> <key> <string>validation_state</string> </key>
<value> <value>
<tuple> <list>
<string>draft</string> <string>draft</string>
</tuple> </list>
</value> </value>
</item> </item>
</dictionary> </dictionary>
......
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