Browse Source

Add security for new models.

pull/420/head
Jairo Llopis 9 years ago
parent
commit
82892dcdeb
  1. 1
      base_import_match/__openerp__.py
  2. 5
      base_import_match/security/ir.model.access.csv

1
base_import_match/__openerp__.py

@ -16,6 +16,7 @@
"base_import", "base_import",
], ],
"data": [ "data": [
"security/ir.model.access.csv",
"data/base_import_match.yml", "data/base_import_match.yml",
"views/base_import_match_view.xml", "views/base_import_match_view.xml",
], ],

5
base_import_match/security/ir.model.access.csv

@ -0,0 +1,5 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_base_import_match,Access base_import.match,model_base_import_match,base.group_user,1,0,0,0
access_base_import_match_field,Access base_import.match.field,model_base_import_match_field,base.group_user,1,0,0,0
write_base_import_match,Write base_import.match,model_base_import_match,base.group_system,1,1,1,1
write_base_import_match_field,Write base_import.match.field,model_base_import_match_field,base.group_system,1,1,1,1
Loading…
Cancel
Save