Commit 694aae32 authored by Romain Courteaud's avatar Romain Courteaud

Call Base_checkPermission on portal to prevent acquisition.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17405 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba8e1141
......@@ -106,7 +106,7 @@ string:${object_url}/Base_jumpToRelatedObject?portal_type=Query&base_category=ag
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object.Base_checkPermission(\'query_module\', \'View\')</string> </value>
<value> <string>python: portal.Base_checkPermission(\'query_module\', \'View\')</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -102,7 +102,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: object.Base_checkPermission(\'query_module\', \'Add portal content\')</string> </value>
<value> <string>python: portal.Base_checkPermission(\'query_module\', \'Add portal content\')</string> </value>
</item>
</dictionary>
</pickle>
......
211
\ No newline at end of file
212
\ No newline at end of file
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