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