Skip to content
Snippets Groups Projects
Commit 9419d171 authored by Lucas Lefèvre's avatar Lucas Lefèvre
Browse files

[FIX] hr: Allow to access employee profile

The `private_email`, `last_check_in` and `last_check_in`
fields were added by e9d98982 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.
parent 58c14d0f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment