From 9f1a9be6d21054acf46f07e04814e1aae02589dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Mombereau?= Date: Fri, 20 Dec 2024 13:07:33 -0300 Subject: [PATCH] [IMP] base_group_backend: allow read on calendar.event and remove Dashboard menu for backend users --- base_group_backend/__manifest__.py | 2 ++ base_group_backend/data/ir_ui_menu.xml | 5 +++++ base_group_backend/security/ir.model.access.csv | 2 ++ 3 files changed, 9 insertions(+) diff --git a/base_group_backend/__manifest__.py b/base_group_backend/__manifest__.py index 6b4af75f2..df336869c 100644 --- a/base_group_backend/__manifest__.py +++ b/base_group_backend/__manifest__.py @@ -12,6 +12,8 @@ "base", "base_install_request", # weird module, we need to survive with it "mail", + "calendar", + "spreadsheet_dashboard", ], "maintainers": ["FranzPoize", "bealdav"], "demo": [ diff --git a/base_group_backend/data/ir_ui_menu.xml b/base_group_backend/data/ir_ui_menu.xml index a8a80e106..d64b2168b 100644 --- a/base_group_backend/data/ir_ui_menu.xml +++ b/base_group_backend/data/ir_ui_menu.xml @@ -4,5 +4,10 @@ + + + + + diff --git a/base_group_backend/security/ir.model.access.csv b/base_group_backend/security/ir.model.access.csv index 1746a2398..5f7b6aae9 100644 --- a/base_group_backend/security/ir.model.access.csv +++ b/base_group_backend/security/ir.model.access.csv @@ -31,3 +31,5 @@ backend_ui_users_res_partner_industry,backend_ui_users_res_partner_industry,base backend_ui_users_res_users_identitycheck,backend_ui_users_res_users_identitycheck,base.model_res_users_identitycheck,group_backend_ui_users,1,1,1,0 backend_ui_users_res_bank,backend_ui_users_res_bank,base.model_res_bank,group_backend_ui_users,1,0,0,0 backend_ui_users_res_partner_bank,backend_ui_users_res_partner_bank,base.model_res_partner_bank,group_backend_ui_users,1,0,0,0 +backend_ui_users_res_calendar_event,backend_ui_users_res_calendar_event,calendar.model_calendar_event,group_backend_ui_users,1,0,0,0 +backend_ui_users_res_calendar_attendee,backend_ui_users_res_calendar_attendee,calendar.model_calendar_attendee,group_backend_ui_users,1,0,0,0