summaryrefslogtreecommitdiff
path: root/addons/web/controllers
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2020-05-22 13:18:11 +0000
committerMartin Trigaux <mat@odoo.com>2020-08-17 09:08:22 +0000
commitf0d37c384b299e5f35cddda02d3f56c6ad37a9a7 (patch)
tree798e84fb354216250f498600864c1ee69bb66409 /addons/web/controllers
parent2104efa9b4c18c3cac483b1cba92ee77f5709ee0 (diff)
[IMP] base: enforce groups_id verification
Browse in sudo and allow to access and run in sudo if the user belongs to the groups defined. If the user does not belong to the group, the run must be called in sudo or with a priviledged user. If no group is defined, the user can execute the action if he can write on the target model. Safe actions (e.g. crm.action_your_pipeline) need to have the correct group on it. Inspired by the logic of access to ir.ui.view, all records are private by default except if explicitly specify a group value.
Diffstat (limited to 'addons/web/controllers')
0 files changed, 0 insertions, 0 deletions