diff options
| author | Toufik Ben Jaa <tbe@odoo.com> | 2018-11-26 10:42:37 +0000 |
|---|---|---|
| committer | Toufik Ben Jaa <tbe@odoo.com> | 2018-11-26 10:42:37 +0000 |
| commit | dbd5cb48e29eea5a6ed09cf736b706615ce8b3e0 (patch) | |
| tree | 2eaec60d72016786d65e84ab25c660b740b0802c /addons/bus/static | |
| parent | fab4451c0e78795f7b912eb7112e56c74da743d5 (diff) | |
[FIX] mail: check access rights on models when fetching messages
- When fetching messages (e.g. opening discuss), we do not check if the
model associated to a message is accessible for the current user.
This could result to access rights error messages when trying to read the
main attachment of the associated record.
To avoid to triggers this errors, we first check if the current user
has read access to the specific model, if so we try to read the
record's main attachment.
closes odoo/odoo#29025
Diffstat (limited to 'addons/bus/static')
0 files changed, 0 insertions, 0 deletions
