summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function_view.xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2015-05-12 11:20:14 +0200
committerDenis Ledoux <dle@odoo.com>2015-05-12 11:33:43 +0200
commit73432ffe9f5007aaae0b70f1df2755a6494b0691 (patch)
tree3cb9d83a27cb471fa7d31d26e0ddc177dc8fd156 /addons/analytic_user_function/analytic_user_function_view.xml
parentcf6d7479d57f9483809779dd363b7f201bd3368c (diff)
[FIX] *: accesses of views concernings specific groups
If the whole view relates to a specific group, apply the group on the view itself instead of each view part (each fields, each page, each div,...), so the view is loaded / added to the base view only if the user is in the right group. So the view is not loaded uselessly and the fields are not read for nothing (performances & security). Indeed, when a group is applied on a field itself, the field content is read, but hidden, therefore reading the content of the field uselessly, and potentially leading to accesses issues if the user hasn't the rights to read the field. (e.g. reading a property when not having access to the model of the proprty, pricelists on partners for instance) opw-634402
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions