diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-08-06 10:37:53 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2019-08-07 12:37:52 +0000 |
| commit | 9419d171a84833efbcd57e4678e2609e10b90b67 (patch) | |
| tree | 00692cbd3c11404307b07edfe2df4d69da886a51 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 58c14d0f9b82f032ddbd8be3ed64d8dfe2929f0c (diff) | |
[FIX] hr: Allow to access employee profile
The `private_email`, `last_check_in` and `last_check_in`
fields were added by e9d9898 to the
profile view but not in `SELF_READABLE_FIELDS`.
A simple user was therefore not able to read the field and
access his profile.
To avoid any similar oversight in the future, a test is added
to ensure a simple user is able to read all fields in
the profile view.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
