From 1b1609687f7420db987ca99ce2528e7002f0db4e Mon Sep 17 00:00:00 2001 From: Fabien Bourgeois Date: Sun, 4 Dec 2016 18:31:43 +0100 Subject: [PATCH] [IMP]GOLEM Activity Registration : default access --- golem_activity_registration/__openerp__.py | 3 ++- golem_activity_registration/security/ir.model.access.csv | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 golem_activity_registration/security/ir.model.access.csv diff --git a/golem_activity_registration/__openerp__.py b/golem_activity_registration/__openerp__.py index d857d04..486f65c 100644 --- a/golem_activity_registration/__openerp__.py +++ b/golem_activity_registration/__openerp__.py @@ -26,5 +26,6 @@ 'installable': True, 'depends': ['golem_activity', 'golem_member'], 'data': ['views/golem_activity_registration_view.xml', - 'views/golem_member_view.xml', 'views/golem_activity_view.xml'] + 'views/golem_member_view.xml', 'views/golem_activity_view.xml', + 'security/ir.model.access.csv'] } diff --git a/golem_activity_registration/security/ir.model.access.csv b/golem_activity_registration/security/ir.model.access.csv new file mode 100644 index 0000000..4c04d4c --- /dev/null +++ b/golem_activity_registration/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_golem_activity_registration_user,Access GOLEM Activity Registration User,model_golem_activity_registration,golem_base.group_golem_user,1,1,1,1 +access_golem_activity_registration_manager,Access GOLEM Activity Registration Manager,model_golem_activity_registration,golem_base.group_golem_manager,1,1,1,1