From 5aa9a69b5608aee7b52bf599bfc59d84c7586994 Mon Sep 17 00:00:00 2001 From: "Hugo Carlier (Huca)" Date: Wed, 5 Jul 2023 12:48:13 +0000 Subject: [PATCH] [FIX] project_todo: avoid evaluation of equivalent ir.rule Since the introduction of project_todo, access to the model project.task for interal users has been extended to read/write/create/unlink. The basic record rule for task visibility does in consequence need to manage only the read access. A new record rule was introduced to manage write/create/unlink access for project users. However, the read access for this group was also managed by this new rule, which led to evaluation of both ir.rule for project user. related-https://github.com/odoo/odoo/pull/115390 closes odoo/odoo#129058 X-original-commit: 0808286feb463f7618fdc2e72f010d151db8c9a3 Signed-off-by: Xavier Bol (xbo) --- addons/project_todo/security/project_todo_security.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/project_todo/security/project_todo_security.xml b/addons/project_todo/security/project_todo_security.xml index eda32e0fe67..9e9ba838ef6 100644 --- a/addons/project_todo/security/project_todo_security.xml +++ b/addons/project_todo/security/project_todo_security.xml @@ -37,6 +37,7 @@ # to subscribe check access to the record, follower is not enough at creation ('user_ids', 'in', user.id) ] +