diff --git a/golem_resource_option/__manifest__.py b/golem_resource_option/__manifest__.py index 330eac5..90f5107 100644 --- a/golem_resource_option/__manifest__.py +++ b/golem_resource_option/__manifest__.py @@ -29,7 +29,8 @@ 'application': True, 'installable': True, 'depends': ['golem_resource'], - 'data': ['views/golem_resource_views.xml', + 'data': ['security/ir.model.access.csv', + 'views/golem_resource_views.xml', 'views/golem_resource_reservation_views.xml', 'views/golem_resource_option_views.xml'] } diff --git a/golem_resource_option/security/ir.model.access.csv b/golem_resource_option/security/ir.model.access.csv new file mode 100644 index 0000000..749b420 --- /dev/null +++ b/golem_resource_option/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_resource_option_user,Access GOLEM Resource Option User,model_golem_resource_option,golem_base.group_golem_user,1,0,0,0 +access_golem_resource_option_manager,Access GOLEM Resource Option Manager,model_golem_resource_option,golem_base.group_golem_manager,1,1,1,1