diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-03-24 16:46:48 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-03-24 18:15:32 +0100 |
| commit | 40a299c580c4608edab8781fda4e66f39611543b (patch) | |
| tree | a0b8de774661c9ec64c660b7c711cef569b7bd80 /addons/web/static/src/js/framework/session_instance.js | |
| parent | a23e850f6346675b191b2ea0ed482bae8190e8dc (diff) | |
[FIX] base: mildly privileged user accessing partner form
A user in base.group_erp_manager (Access Rights) but NOT in base.group_system
(Settings), will try to fetch the list of groups to generate selection fields
to represent groups selection.
As the method `_is_admin` only verifies the user belongs to group_erp_manager
and the model ir.module.category requires group_system for read access rights,
`fields_get` method tries to fetch the groups and fails with a security warning.
The user fields are fetched when a res.partner form is loaded as the field
user_ids (one2many) is present in the form view of partner in invisible.
opw-672435
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
