diff options
| author | Martin Trigaux <mat@odoo.com> | 2020-10-15 07:57:09 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2020-10-29 08:56:27 +0000 |
| commit | b0028c05d6ba9c67f16992ddb446eea6a854d099 (patch) | |
| tree | 2484c614e6b7c722a2268a8fdf77bd239a46fa72 /addons/event | |
| parent | 33a7142f298eeda7808d6d07e80231836442a0ce (diff) | |
[FIX] base: verify the rights on individual records too
The access rights of a model was checked but not the records themself.
In case a user has access to a model but not to a specific record, he
should not be able to execute a server action on it.
Correct the ir.rule on private partners to be also verified for other
operations than read.
While it was not possible to actually write on it (due to side effects
of ORM where write implies a read operation),
check_access_rule('write') was working on a private address
closes odoo/odoo#59740
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/event')
0 files changed, 0 insertions, 0 deletions
