From a5ddde9994f0176af26052e126721c78d65935f0 Mon Sep 17 00:00:00 2001 From: michel Date: Thu, 9 Nov 2017 15:07:08 +0100 Subject: [PATCH] Add security --- __manifest__.py | 2 +- security/ir.model.access.csv | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 security/ir.model.access.csv diff --git a/__manifest__.py b/__manifest__.py index dd732c2..a5a7a66 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -25,6 +25,6 @@ 'license': 'AGPL-3', 'application': False, 'installable': True, - 'data': ['views/coworking_menu.xml', 'views/coworker_views.xml'], + 'data': ['views/coworking_menu.xml', 'views/coworker_views.xml', 'security/ir.model.access.csv'], 'depends': ['base'] } diff --git a/security/ir.model.access.csv b/security/ir.model.access.csv new file mode 100644 index 0000000..d2dd4d3 --- /dev/null +++ b/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink +acess_coworking.coworker_group_user Access COWORKER Member User model_ccoworking.coworker_member base.group_user 1 1 1 0