Commit 3c14caa1 authored by Rafael Monnerat's avatar Rafael Monnerat

Fixed potential bug of Unauthorized. Thanks to Jerome.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22239 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4dc78702
No related merge requests found
......@@ -93,11 +93,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string encoding="cdata"><![CDATA[
python: here.hasData() and (len(here.document_module.getVisibleAllowedContentTypeList()) > 1)
]]></string> </value>
<value> <string>python: here.hasData() and portal.Base_checkPermission(\'document_module\', \'Add portal content\')</string> </value>
</item>
</dictionary>
</pickle>
......
275
\ No newline at end of file
276
\ 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