Commit b76491e2 authored by Jérome Perrin's avatar Jérome Perrin

Apply checked_permission to list possible bank accounts, otherwise we have a...

Apply checked_permission to list possible bank accounts, otherwise we have a problem with deleted bank accounts
parent e451ad9e
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>title</string>
<string>description</string> <string>description</string>
<string>items</string> <string>items</string>
<string>title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:[(\'\', \'\')] + (here.getDestinationSection() and [(x.Title(), x.getRelativeUrl()) for x in here.getDestinationSectionValue().objectValues(portal_type = here.getPortalPaymentNodeTypeList())] or [])</string> </value> <value> <string>python:[(\'\', \'\')] + (here.getDestinationSection() and [(x.getTitle(), x.getRelativeUrl()) for x in here.getDestinationSectionValue().contentValues(portal_type=here.getPortalPaymentNodeTypeList(), checked_permission="Access contents information")] or [])</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>title</string>
<string>description</string> <string>description</string>
<string>items</string> <string>items</string>
<string>title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:[(\'\', \'\')] + (here.getSourceSection() and [(x.Title(), x.getRelativeUrl()) for x in here.getSourceSectionValue().objectValues(portal_type = here.getPortalPaymentNodeTypeList())] or [])</string> </value> <value> <string>python:[(\'\', \'\')] + (here.getSourceSection() and [(x.getTitle(), x.getRelativeUrl()) for x in here.getSourceSectionValue().contentValues(portal_type=here.getPortalPaymentNodeTypeList(), checked_permission="Access contents information")] or [])</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
1159 1160
\ 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