Commit 0ec52b69 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Take into account the permission before displaying categories.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16650 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8a376155
......@@ -299,7 +299,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: here.portal_categories[field.getId().replace(\'my_\', \'\', 1).replace(\'_list\', \'\')].getCategoryChildCompactLogicalPathItemList(local_sort_id="int_index")</string> </value>
<value> <string>python: here.portal_categories[field.getId().replace(\'my_\', \'\', 1).replace(\'_list\', \'\')].getCategoryChildCompactLogicalPathItemList(local_sort_id="int_index", checked_permission=\'View\')</string> </value>
</item>
</dictionary>
</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