[IMP]GOLEM Resource Option : base security for new model
This commit is contained in:
parent
8ea116675e
commit
0bb22d7b1b
@ -29,7 +29,8 @@
|
|||||||
'application': True,
|
'application': True,
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'depends': ['golem_resource'],
|
'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_reservation_views.xml',
|
||||||
'views/golem_resource_option_views.xml']
|
'views/golem_resource_option_views.xml']
|
||||||
}
|
}
|
||||||
|
3
golem_resource_option/security/ir.model.access.csv
Normal file
3
golem_resource_option/security/ir.model.access.csv
Normal 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
|
|
Loading…
Reference in New Issue
Block a user