Files
odoo_source/addons/hr/security/ir.model.access.csv
T
Victor Feyens 131c19f2d8 [FIX] hr: settings user doesn't have access to hr.employee
The field pos_employee_ids (pos_hr) links hr employees records to 
settings records
but this model isn't readable for Pos Administrators by default.

This commit gives read rights on hr.employee model to settings users,
reusing a confusing existing ACL whose name targeted system users,
whereas the group effectively targeted was the internal users.

Since this rule didn't give any rights, we might as well correctly 
replace
it so that the name can match its purpose.

Part-of: odoo/odoo#91909
2022-06-23 23:48:31 +02:00

1.8 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_hr_employee_category_userhr.employee.category.usermodel_hr_employee_categorygroup_hr_user1111
3access_hr_employee_category_emphr.employee.category.empmodel_hr_employee_categorybase.group_user1000
4access_hr_employee_userhr.employee usermodel_hr_employeegroup_hr_user1111
5access_hr_employee_system_userhr.employee system usermodel_hr_employeebase.group_system1000
6access_hr_employee_public_userhr.employee_publicmodel_hr_employee_publicbase.group_user1000
7access_hr_employee_resource_userresource.resource.userresource.model_resource_resourcegroup_hr_user1111
8access_hr_department_userhr.department.usermodel_hr_departmentgroup_hr_user1111
9access_hr_department_employeehr.department.employeemodel_hr_departmentbase.group_user1000
10access_hr_job_userhr.job usermodel_hr_jobgroup_hr_user1111
11access_hr_plan_activity_type_employeeaccess_hr_plan_activity_typemodel_hr_plan_activity_typebase.group_user1000
12access_hr_plan_employeeaccess_hr_plan_employeemodel_hr_planbase.group_user1000
13access_hr_plan_activity_type_hr_useraccess_hr_plan_activity_typemodel_hr_plan_activity_typegroup_hr_user1111
14access_hr_plan_hr_useraccess_hr_plan_hr_usermodel_hr_plangroup_hr_user1111
15access_hr_plan_wizardaccess.hr.plan.wizardmodel_hr_plan_wizardhr.group_hr_manager1110
16access_hr_departure_wizardaccess.hr.departure.wizardmodel_hr_departure_wizardhr.group_hr_user1110
17access_hr_work_location_useraccess_hr_work_location_usermodel_hr_work_locationbase.group_user1000
18access_hr_work_location_manageraccess_hr_work_location_managermodel_hr_work_locationgroup_hr_manager1111
19access_hr_departure_reasonaccess_hr_departure_reason_usermodel_hr_departure_reasongroup_hr_user1111