[FIX]GOLEM Payment : default rights for models

This commit is contained in:
Fabien Bourgeois 2017-06-15 05:23:58 +02:00
parent d37b6c3147
commit 94dcc2aa7d
2 changed files with 6 additions and 1 deletions

View File

@ -27,5 +27,5 @@
'application': True,
'installable': True,
'depends': ['account', 'golem_season'],
'data': ['views/golem_payment_views.xml']
'data': ['views/golem_payment_views.xml', 'security/ir.model.access.csv']
}

View File

@ -0,0 +1,5 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_golem_payment_schedule_user,Access GOLEM Payment Schedule User,model_golem_payment_schedule,golem_base.group_golem_user,1,0,0,0
access_golem_payment_schedule_manager,Access GOLEM Payment Schedule Manager,model_golem_payment_schedule,golem_base.group_golem_manager,1,1,1,1
access_golem_payment_schedule_day_user,Access GOLEM Payment Schedule Day User,model_golem_payment_schedule_day,golem_base.group_golem_user,1,0,0,0
access_golem_payment_schedule_day_manager,Access GOLEM Payment Schedule Day Manager,model_golem_payment_schedule_day,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_payment_schedule_user Access GOLEM Payment Schedule User model_golem_payment_schedule golem_base.group_golem_user 1 0 0 0
3 access_golem_payment_schedule_manager Access GOLEM Payment Schedule Manager model_golem_payment_schedule golem_base.group_golem_manager 1 1 1 1
4 access_golem_payment_schedule_day_user Access GOLEM Payment Schedule Day User model_golem_payment_schedule_day golem_base.group_golem_user 1 0 0 0
5 access_golem_payment_schedule_day_manager Access GOLEM Payment Schedule Day Manager model_golem_payment_schedule_day golem_base.group_golem_manager 1 1 1 1