Skip to content

Commit

Permalink
fixup! [ADD] restrict hr.group_hr_user to their own employees
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Sep 18, 2023
1 parent 3b634bb commit 0f03bc5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions verdigado_attendance/security/verdigado_attendance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@
<field name="perm_write" eval="True" />
<field name="perm_create" eval="True" />
<field name="perm_unlink" eval="True" />
<field
name="groups"
eval="[(4, ref('hr_attendance.group_hr_attendance_user'))]"
/>
<field name="groups" eval="[(4, ref('base.group_user'))]" />
</record>
<record id="rule_hr_attendance_report_manager" model="ir.rule">
<field name="name">Lift restrictions for HR attendance administrators</field>
Expand Down

0 comments on commit 0f03bc5

Please sign in to comment.