Commit 5990a187 authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_trade: Allow users with Associate role to deliver the packing list

With this, change we accept users with permission to Modify portal content or Associate role
parent aa368e67
......@@ -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