From 0a4e2fbcd217508e53d815f35cc16a2435ad0f81 Mon Sep 17 00:00:00 2001 From: pash-odoo Date: Thu, 3 Aug 2023 09:13:25 +0000 Subject: [PATCH] [REM] hr_timesheet: remove access rule for group_hr_timesheet_user Before this commit, access rule for group_hr_timesheet_user is define for read and write permission for task which allow internal user to edit task if link is provided even if user have no access. In this commit, we have remove access rule for group_hr_timesheet_user because it is not required anymore since read access is already given to internal user which does not allow user to edit task if user have no access. task-3354831 closes odoo/odoo#130807 Related: odoo/upgrade#5020 Signed-off-by: Xavier Bol (xbo) --- addons/hr_timesheet/security/ir.model.access.csv | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/hr_timesheet/security/ir.model.access.csv b/addons/hr_timesheet/security/ir.model.access.csv index 58a4d9e6e7c..6fee68cbfcf 100644 --- a/addons/hr_timesheet/security/ir.model.access.csv +++ b/addons/hr_timesheet/security/ir.model.access.csv @@ -3,7 +3,6 @@ access_account_analytic_line_user,analytic.account.analytic.line.timesheet.user, access_account_analytic_user,analytic.account.analytic.timesheet.user,analytic.model_account_analytic_account,hr_timesheet.group_hr_timesheet_user,1,1,0,0 access_uom_uom_hr_timesheet,uom.uom.timesheet.user,uom.model_uom_uom,hr_timesheet.group_hr_timesheet_user,1,0,0,0 access_project_project,project.project.timesheet.user,model_project_project,hr_timesheet.group_hr_timesheet_user,1,0,0,0 -access_project_task,project.task.timesheet.user,model_project_task,hr_timesheet.group_hr_timesheet_user,1,1,0,0 access_timesheets_analysis_report_manager,timesheets.analysis.report,model_timesheets_analysis_report,hr_timesheet.group_timesheet_manager,1,0,0,0 access_timesheets_analysis_report_user,timesheets.analysis.report,model_timesheets_analysis_report,hr_timesheet.group_hr_timesheet_user,1,0,0,0 access_hr_employee_delete_wizard,hr.employee.delete.wizard,model_hr_employee_delete_wizard,hr.group_hr_user,1,1,1,0