From 9e4c7f4f5e4eb332433d04562f820f0840437494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Duy=20=28=C4=90=E1=BB=97=20Anh=29?= Date: Fri, 21 Feb 2025 10:17:39 +0700 Subject: [PATCH] [IMP] hr_holidays_public: Allow HR Managers to manage public holidays --- hr_holidays_public/__manifest__.py | 1 + hr_holidays_public/security/security.xml | 45 ++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 hr_holidays_public/security/security.xml diff --git a/hr_holidays_public/__manifest__.py b/hr_holidays_public/__manifest__.py index 8db8a32f..570f1c42 100644 --- a/hr_holidays_public/__manifest__.py +++ b/hr_holidays_public/__manifest__.py @@ -19,6 +19,7 @@ "calendar_public_holiday", ], "data": [ + "security/security.xml", "views/hr_leave_type.xml", ], "installable": True, diff --git a/hr_holidays_public/security/security.xml b/hr_holidays_public/security/security.xml new file mode 100644 index 00000000..78c8961c --- /dev/null +++ b/hr_holidays_public/security/security.xml @@ -0,0 +1,45 @@ + + + + + + access_hr_holidays_public_manager + + + 1 + 1 + 1 + 1 + + + access_calendar_public_holiday_line + + + 1 + 1 + 1 + 1 + + + access_calendar_public_holiday_next_year + + + 1 + 1 + 1 + 1 + +