Commit 14684d80 authored by Gabriel Monnerat's avatar Gabriel Monnerat Committed by Jérome Perrin

erp5_trade: Fix expression to consider proxy roles

parent 9de1da5e
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python: user.has_permission("Modify portal content", here) or user.has_role(("Associate",), here)</string> </value> <value> <string>python: user.has_permission("Modify portal content", here) or user.has_role(("Associate",), here) or user.portal_membership.checkPermission(\'Modify portal content\', here)</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
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