Commit d9259433 authored by Romain Courteaud's avatar Romain Courteaud

erp5_system_event: fix acknowledge guard

No workflow state provides Modify Portal Content to a Role (except Manager).
Change the guard to be based on role instead of permission, so that Assignor can also trigger the transition.
parent 2852abdf
......@@ -66,10 +66,11 @@
<pickle>
<dictionary>
<item>
<key> <string>permissions</string> </key>
<key> <string>roles</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
......
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