summaryrefslogtreecommitdiff
path: root/addons/resource/security/resource_security.xml
AgeCommit message (Collapse)Author
2020-03-20[IMP] *: declare ir.rule in noupdateVictor Feyens
ir.rule are default values but can be customized based on the company's policy and needs. This is typically a record that is in noupdate as should be customization-friendly.
2019-05-28[REF] resource: relax ir rule on leavesWilliam Henrotin
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
2019-04-19[FIX] resource: give admin rights to edit global leavesNans Lefebvre
Commit 27d41ccb introduced record rules on resource.calendar.leaves. However it gave no way to create, edit or delete a global rule. We grant this right to the group_erp_manager, so that an admin can do it. opw 1968376 closes odoo/odoo#32832 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2017-02-27[REF] resource: update security rulesThibault Delavallée
Add some rules to enable the read of calendar records by employees as those rules should not be defined a bit everywhere in various addons.
2016-07-13[MIG] resource: Migrated to new api.Mansi Gandhi
2013-09-11[FIX] resource: better access rightsMartin Trigaux
bzr revid: mat@openerp.com-20130911142549-cpzg8588ol31b8k1
2013-05-14[IMP]resource: avoid better permissions on calendar_leavesMartin Trigaux
bzr revid: mat@openerp.com-20130514134227-xnvyzjikwph8bp5k