[IMP]GOLEM Resource Option : base security for new model

This commit is contained in:
Fabien BOURGEOIS 2018-03-29 08:56:57 +02:00
parent 8ea116675e
commit 0bb22d7b1b
2 changed files with 5 additions and 1 deletions

View File

@ -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']
}

View File

@ -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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_golem_resource_option_user Access GOLEM Resource Option User model_golem_resource_option golem_base.group_golem_user 1 0 0 0
3 access_golem_resource_option_manager Access GOLEM Resource Option Manager model_golem_resource_option golem_base.group_golem_manager 1 1 1 1