Files
odoo_source/addons/hr_holidays/security/ir.model.access.csv
T
Kevin Baptiste b8a8ad27de [FIX] hr_holidays: "Everyone" view on calendar_event
Purpose
=======

Avoid to show to much information to leave responsibles.

Specification
=============

- Dynamically add/remove the leave_manager_ids on the group
  group_hr_holidays_responsible, on employee creation/modification
- Retrict the available employees when creating a leave. For
  manager/users : Everyone. For responsibles: The employee for
  who the user is responsible. Otherwise: Only me.
- Don't obfuscate the leave name on employees for who I'm the
  responsible.
- Add a new SQL view for "Everyone" report. To select only the
  information we want to share instead of showing the hr.leave
  model directly.

closes odoo/odoo#47659

closes odoo/odoo#49765

Taskid: 2206862
Related: odoo/enterprise#9239
Related: odoo/enterprise#10021
X-original-commit: 781147dcaf1552b8f2ab687ed73034b8fd1f7352
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-04-20 09:19:48 +00:00

2.2 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_hr_holidays_manager_requesthr.holidays.manager.requestmodel_hr_leavehr_holidays.group_hr_holidays_manager1111
3access_hr_holidays_user_requesthr.holidays.user.requestmodel_hr_leavehr_holidays.group_hr_holidays_user1111
4access_hr_holidays_employee_requesthr.holidays.employee.requestmodel_hr_leavebase.group_user1111
5access_hr_holidays_manager_allocationhr.holidays.manager.allocationmodel_hr_leave_allocationhr_holidays.group_hr_holidays_manager1111
6access_hr_holidays_user_allocationhr.holidays.user.allocationmodel_hr_leave_allocationhr_holidays.group_hr_holidays_user1111
7access_hr_holidays_employee_allocationhr.holidays.employee.allocationmodel_hr_leave_allocationbase.group_user1111
8access_hr_holidays_status_managerhr.holidays.status managermodel_hr_leave_typehr_holidays.group_hr_holidays_manager1111
9access_hr_holidays_status_userhr.holidays.status usermodel_hr_leave_typehr_holidays.group_hr_holidays_user1000
10access_hr_holidays_status_employeehr.holidays.status employeemodel_hr_leave_typebase.group_user1000
11access_hr_leave_reportaccess_hr_leave_reportmodel_hr_leave_report1000
12access_resource_calendar_leaves_userresource_calendar_leaves_userresource.model_resource_calendar_leaveshr_holidays.group_hr_holidays_user1111
13access_calendar_event_hr_usercalendar.event.hr.usercalendar.model_calendar_eventhr_holidays.group_hr_holidays_user1111
14access_calendar_event_type_managercalendar.event.type.managercalendar.model_calendar_event_typehr_holidays.group_hr_holidays_manager1111
15access_calendar_attendee_hr_usercalendar.attendee.hr.usercalendar.model_calendar_attendeehr_holidays.group_hr_holidays_user1111
16access_mail_activity_type_holidays_managermail.activity.type.holidays.managermail.model_mail_activity_typehr_holidays.group_hr_holidays_manager1111
17access_hr_holidays_summary_employeeaccess.hr.holidays.summary.employeemodel_hr_holidays_summary_employeehr_holidays.group_hr_holidays_user1110
18access_hr_leave_report_calendaraccess_hr_leave_report_calendarmodel_hr_leave_report_calendarbase.group_user1000