Commit d74c66fd authored by Romain Courteaud's avatar Romain Courteaud

Fix actions which raise unauthorized error when module can not be accessed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18982 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 81330f0d
......@@ -93,7 +93,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:portal.portal_membership.checkPermission(\'Add portal content\', portal.document_module) and portal.portal_membership.checkPermission(\'Add portal content\', portal.image_module)</string> </value>
<value> <string>python: portal.Base_checkPermission(\'document_module\', \'Add portal content\') and portal.Base_checkPermission(\'image_module\', \'Add portal content\')</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -93,7 +93,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python:portal.portal_membership.checkPermission(\'Add portal content\', portal.document_module) and portal.portal_membership.checkPermission(\'Add portal content\', portal.image_module)</string> </value>
<value> <string>python: portal.Base_checkPermission(\'document_module\', \'Add portal content\') and portal.Base_checkPermission(\'image_module\', \'Add portal content\')</string> </value>
</item>
</dictionary>
</pickle>
......
814
\ No newline at end of file
815
\ 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