mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] Add security file for web_shortcuts addons
This commit is contained in:
@@ -34,7 +34,10 @@ Add a Shortcut icon besides the views title in order to add/remove a shortcut.
|
||||
'author': 'OpenERP SA',
|
||||
'website': 'http://openerp.com',
|
||||
'depends': ['base'],
|
||||
'data': ['view/web_shortcuts.xml'],
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
'view/web_shortcuts.xml',
|
||||
],
|
||||
'qweb': ['static/src/xml/web_shortcuts.xml'],
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
|
||||
2
web_shortcuts/security/ir.model.access.csv
Normal file
2
web_shortcuts/security/ir.model.access.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
access_web_shortcut,access_web_shortcut,model_web_shortcut,,1,1,1,1
|
||||
|
Reference in New Issue
Block a user