knowledge/document_knowledge/security/knowledge_security.xml
Jordi Ballester Alomar 8e43688530 [knowledge][11.0.3.0.0] - add security for access to ir.attachment.
Otherwise the module grants too wide permissions for all users.
2024-11-01 11:05:05 +07:00

17 lines
598 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="group_document_user" model="res.groups">
<field name="name">Knowledge user</field>
<field name="category_id" ref="module_category_knowledge"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_ir_attachment_user" model="res.groups">
<field name="name">Central access to Documents</field>
<field name="category_id" ref="base.module_category_hidden"/>
<field name="implied_ids" eval="[(4, ref('group_document_user'))]"/>
</record>
</odoo>