From 0c50cbe18ce3f1f20c6b7e16aa182bfe14743dfd Mon Sep 17 00:00:00 2001 From: jash-odoo Date: Tue, 20 Jun 2023 06:31:14 +0000 Subject: [PATCH] [IMP] spreadsheet_dashboard: Create a Dashboards / Admin security group MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduces a new group called "Dashboards / Admin within the spreadsheet_dashboard module, replacing the existing "Administration / Settings" group for Improved Dashboard Management taskID = 3373509 closes odoo/odoo#125708 Signed-off-by: Lucas Lefèvre (lul) --- .../security/ir.model.access.csv | 4 ++-- addons/spreadsheet_dashboard/security/security.xml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/addons/spreadsheet_dashboard/security/ir.model.access.csv b/addons/spreadsheet_dashboard/security/ir.model.access.csv index 55f1aa285e0..c2ea3605389 100644 --- a/addons/spreadsheet_dashboard/security/ir.model.access.csv +++ b/addons/spreadsheet_dashboard/security/ir.model.access.csv @@ -1,5 +1,5 @@ "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" "access_spreadsheet_dashboard_group_user","access_spreadsheet_dashboard_group_user","model_spreadsheet_dashboard_group","base.group_user",1,0,0,0 spreadsheet_dashboard_user","spreadsheet_dashboard_user","model_spreadsheet_dashboard","base.group_user",1,0,0,0 -"access_spreadsheet_dashboard_group","access_spreadsheet_dashboard_group","model_spreadsheet_dashboard_group","base.group_system",1,1,1,1 -"spreadsheet_dashboard","spreadsheet_dashboard","model_spreadsheet_dashboard","base.group_system",1,1,1,1 +"access_spreadsheet_dashboard_group","access_spreadsheet_dashboard_group","model_spreadsheet_dashboard_group","spreadsheet_dashboard.group_dashboard_manager",1,1,1,1 +"spreadsheet_dashboard","spreadsheet_dashboard","model_spreadsheet_dashboard","spreadsheet_dashboard.group_dashboard_manager",1,1,1,1 diff --git a/addons/spreadsheet_dashboard/security/security.xml b/addons/spreadsheet_dashboard/security/security.xml index 46bfcccd965..2811220009b 100644 --- a/addons/spreadsheet_dashboard/security/security.xml +++ b/addons/spreadsheet_dashboard/security/security.xml @@ -5,5 +5,17 @@ [('group_ids', 'in', user.groups_id.ids)] + + + Dashboard + User access level for Dashboard module + 30 + + + + Admin + + +