Commit 535e7f28 authored by Jérome Perrin's avatar Jérome Perrin

Only consider organisations the current user is allowed to view

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32352 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3a157e7e
......@@ -13,8 +13,8 @@
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>items</string>
<string>title</string>
</list>
</value>
</item>
......@@ -124,7 +124,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(\'\', \'\')] + [(x.getTitle(), x.getRelativeUrl()) for x in here.portal_categories.resolveCategory(here.getPreferredSectionCategory(\'portal_categories\')).getGroupRelatedValueList(portal_type=\'Organisation\')]</string> </value>
<value> <string>python: [(\'\', \'\')] + [(x.getTitle(), x.getRelativeUrl()) for x in here.portal_categories.resolveCategory(here.getPreferredSectionCategory(\'portal_categories\')).getGroupRelatedValueList(portal_type=\'Organisation\', checked_permission=\'View\')]</string> </value>
</item>
</dictionary>
</pickle>
......
1463
\ No newline at end of file
1464
\ 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