Add security

This commit is contained in:
michel 2017-11-09 15:07:08 +01:00
parent 98ee48126d
commit a5ddde9994
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,6 @@
'license': 'AGPL-3',
'application': False,
'installable': True,
'data': ['views/coworking_menu.xml', 'views/coworker_views.xml'],
'data': ['views/coworking_menu.xml', 'views/coworker_views.xml', 'security/ir.model.access.csv'],
'depends': ['base']
}

View File

@ -0,0 +1,2 @@
id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
acess_coworking.coworker_group_user Access COWORKER Member User model_ccoworking.coworker_member base.group_user 1 1 1 0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 acess_coworking.coworker_group_user Access COWORKER Member User model_ccoworking.coworker_member base.group_user 1 1 1 0