[REF] resource: relax ir rule on leaves

The field user_id on resource.resource is optional but the access rules
on resource.calendar.leaves request that field set. Which means a user
can only see his own leaves but not the ones of a machine's calendar for.
instance

This commit relax those rules to give access to the user's leaves and the
one not assigned to a specific user

Task : 1892819
This commit is contained in:
William Henrotin
2019-05-28 06:50:00 +00:00
parent 9ab3270c5a
commit 2c299e7b21

Diff Content Not Available