From 1085ab17e306724a20506d79d6526c5dee69ee10 Mon Sep 17 00:00:00 2001 From: "Ronald Portier (Therp BV)" Date: Mon, 5 Sep 2022 11:26:04 +0200 Subject: [PATCH] [FIX] *_online_ponto: add security --- account_bank_statement_import_online_ponto/__manifest__.py | 5 ++++- .../readme/CONTRIBUTORS.rst | 3 +++ .../security/ir.model.access.csv | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 account_bank_statement_import_online_ponto/security/ir.model.access.csv diff --git a/account_bank_statement_import_online_ponto/__manifest__.py b/account_bank_statement_import_online_ponto/__manifest__.py index 919f0e0..0a5b371 100644 --- a/account_bank_statement_import_online_ponto/__manifest__.py +++ b/account_bank_statement_import_online_ponto/__manifest__.py @@ -13,5 +13,8 @@ "license": "AGPL-3", "installable": True, "depends": ["account_bank_statement_import_online"], - "data": ["view/online_bank_statement_provider.xml"], + "data": [ + "security/ir.model.access.csv", + "view/online_bank_statement_provider.xml", + ], } diff --git a/account_bank_statement_import_online_ponto/readme/CONTRIBUTORS.rst b/account_bank_statement_import_online_ponto/readme/CONTRIBUTORS.rst index 077a3ec..5544a1f 100644 --- a/account_bank_statement_import_online_ponto/readme/CONTRIBUTORS.rst +++ b/account_bank_statement_import_online_ponto/readme/CONTRIBUTORS.rst @@ -2,3 +2,6 @@ * `Tecnativa `__: * Pedro M. Baeza +* `Therp BV `__: + + * Ronald Portier diff --git a/account_bank_statement_import_online_ponto/security/ir.model.access.csv b/account_bank_statement_import_online_ponto/security/ir.model.access.csv new file mode 100644 index 0000000..4950f51 --- /dev/null +++ b/account_bank_statement_import_online_ponto/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_ponto_buffer,access_ponto_buffer,model_ponto_buffer,base.group_user,1,0,0,0 +access_ponto_buffer_line,access_ponto_buffer_line,model_ponto_buffer_line,base.group_user,1,0,0,0