diff options
| author | William Henrotin <whe@odoo.com> | 2019-05-23 06:58:33 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2019-05-28 06:50:00 +0000 |
| commit | 6fad651883b45c07a373d96f7b277dad91da4689 (patch) | |
| tree | 84607b642ee4ae79c008d987257d62e91bce3093 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 6dde6b98a5bd83992141a2c7579482f5cdf19800 (diff) | |
[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
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
