From 07ec43bf2110c9cc10e95e3cf0508060a9a3386f Mon Sep 17 00:00:00 2001 From: Valentin Chemiere Date: Mon, 16 Mar 2015 15:59:05 +0100 Subject: [PATCH] Fix readme and add security files --- external_file_location/README.rst | 12 ++++++------ external_file_location/__openerp__.py | 1 + external_file_location/security/ir.model.access.csv | 3 +++ ir_attachment_metadata/README.rst | 12 ++++++------ ir_attachment_metadata/__openerp__.py | 1 + ir_attachment_metadata/security/ir.model.access.csv | 2 ++ 6 files changed, 19 insertions(+), 12 deletions(-) create mode 100644 external_file_location/security/ir.model.access.csv create mode 100644 ir_attachment_metadata/security/ir.model.access.csv diff --git a/external_file_location/README.rst b/external_file_location/README.rst index 38fbe2e0..3b425a69 100644 --- a/external_file_location/README.rst +++ b/external_file_location/README.rst @@ -1,5 +1,5 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg -:alt: License + :alt: License External File Location ====================== @@ -50,11 +50,11 @@ Maintainer * Valentin CHEMIERE .. image:: http://odoo-community.org/logo.png -:alt: Odoo Community Association -:target: http://odoo-community.org + :alt: Odoo Community Association + :target: http://odoo-community.org - This module is maintained by the OCA. +This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. +OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. - To contribute to this module, please visit http://odoo-community.org. +To contribute to this module, please visit http://odoo-community.org. diff --git a/external_file_location/__openerp__.py b/external_file_location/__openerp__.py index e5072e5d..3eff1b0b 100644 --- a/external_file_location/__openerp__.py +++ b/external_file_location/__openerp__.py @@ -41,6 +41,7 @@ 'location_view.xml', 'task_view.xml', 'cron.xml', + 'security/ir.model.access.csv', ], 'installable': True, 'application': True, diff --git a/external_file_location/security/ir.model.access.csv b/external_file_location/security/ir.model.access.csv new file mode 100644 index 00000000..ae2ce783 --- /dev/null +++ b/external_file_location/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_external_file_location_user,external.file.location.user,model_external_file_location,base.group_user,1,0,0,0 +access_external_file_task_user,external.file.task.user,model_external_file_task,base.group_user,1,0,0,0 diff --git a/ir_attachment_metadata/README.rst b/ir_attachment_metadata/README.rst index e2a78721..f9640f29 100644 --- a/ir_attachment_metadata/README.rst +++ b/ir_attachment_metadata/README.rst @@ -1,5 +1,5 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg -:alt: License + :alt: License Attachment Metadata ====================== @@ -41,11 +41,11 @@ Maintainer * Valentin CHEMIERE .. image:: http://odoo-community.org/logo.png -:alt: Odoo Community Association -:target: http://odoo-community.org + :alt: Odoo Community Association + :target: http://odoo-community.org - This module is maintained by the OCA. +This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. +OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. - To contribute to this module, please visit http://odoo-community.org. +To contribute to this module, please visit http://odoo-community.org. diff --git a/ir_attachment_metadata/__openerp__.py b/ir_attachment_metadata/__openerp__.py index d880cc18..087439cc 100644 --- a/ir_attachment_metadata/__openerp__.py +++ b/ir_attachment_metadata/__openerp__.py @@ -35,6 +35,7 @@ ], 'data': [ 'attachment_view.xml', + 'security/ir.model.access.csv', ], 'installable': True, 'application': False, diff --git a/ir_attachment_metadata/security/ir.model.access.csv b/ir_attachment_metadata/security/ir.model.access.csv new file mode 100644 index 00000000..9b01638c --- /dev/null +++ b/ir_attachment_metadata/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_attachment_metadata_user,ir.attachment.metadata.user,model_ir_attachment_metadata,base.group_user,1,0,0,0