From 82892dcdeb8c35f8438011e8f9bbc116553907c7 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Fri, 13 May 2016 12:54:55 +0200 Subject: [PATCH] Add security for new models. --- base_import_match/__openerp__.py | 1 + base_import_match/security/ir.model.access.csv | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 base_import_match/security/ir.model.access.csv diff --git a/base_import_match/__openerp__.py b/base_import_match/__openerp__.py index 4165be269..83471d213 100644 --- a/base_import_match/__openerp__.py +++ b/base_import_match/__openerp__.py @@ -16,6 +16,7 @@ "base_import", ], "data": [ + "security/ir.model.access.csv", "data/base_import_match.yml", "views/base_import_match_view.xml", ], diff --git a/base_import_match/security/ir.model.access.csv b/base_import_match/security/ir.model.access.csv new file mode 100644 index 000000000..6ffd90137 --- /dev/null +++ b/base_import_match/security/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_base_import_match,Access base_import.match,model_base_import_match,base.group_user,1,0,0,0 +access_base_import_match_field,Access base_import.match.field,model_base_import_match_field,base.group_user,1,0,0,0 +write_base_import_match,Write base_import.match,model_base_import_match,base.group_system,1,1,1,1 +write_base_import_match_field,Write base_import.match.field,model_base_import_match_field,base.group_system,1,1,1,1