Commit d55d85f6 authored by Vincent Pelletier's avatar Vincent Pelletier

Add a Manager proxy role.

This fixes cases where a user accesses a bank account of another agency
(this can happen for operation imports at country scale).

It is safe to set a Manager proxy role on this script as it is called on
the only accessed document, so security checks were already done (or
bypassed) upon fetching our context.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31824 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2ef1e46f
......@@ -66,6 +66,14 @@
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
......
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