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 @@ ...@@ -13,8 +13,8 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>title</string>
<string>items</string> <string>items</string>
<string>title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
1463 1464
\ No newline at end of file \ 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