diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-02-08 13:17:23 +0100 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2019-02-13 11:03:33 +0100 |
| commit | c7aa8c5f669b5aa8d9789b812d0105ac0c4928c5 (patch) | |
| tree | 39039cf2d30cec9647f7de8c03bd5845d30dc70c /addons/hr_contract/models/__init__.py | |
| parent | 0cd13b001a9c66a8cde22abf5b98332005af1f76 (diff) | |
[IMP] mail: allow tracking on groups protected fields
Purpose
=======
Currently fields with a `groups` attribute can't be tracked.
Otherwise changes would be visible by all in the chatter, including
users which normally don't have the access rights because they are
not members of `groups`.
Specification
=============
Filter tracking field values according to the `groups` attributes.
Users without the access rights should not see them.
If a message is only composed of tracking values and the user doesn't
have the rights to see them, an empty message should not be displayed.
Diffstat (limited to 'addons/hr_contract/models/__init__.py')
0 files changed, 0 insertions, 0 deletions
