Commit dd7ae267 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_base: Allow users with Associate role to converge and start_building of deliveries

With this, we accept users with permission to Modify portal content or Associate role
parent 2c7a5ad8
......@@ -10,6 +10,10 @@
<key> <string>actbox_category</string> </key>
<value> <string>workflow</string> </value>
</item>
<item>
<key> <string>actbox_icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string></string> </value>
......@@ -62,14 +66,25 @@
<pickle>
<dictionary>
<item>
<key> <string>permissions</string> </key>
<key> <string>expr</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: user.has_permission("Modify portal content", here) or user.has_role(("Associate",), here)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -66,14 +66,25 @@
<pickle>
<dictionary>
<item>
<key> <string>permissions</string> </key>
<key> <string>expr</string> </key>
<value>
<tuple>
<string>Modify portal content</string>
</tuple>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="Expression" module="Products.CMFCore.Expression"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: user.has_permission("Modify portal content", here) or user.has_role(("Associate",), here)</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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