Files
odoo_source/addons/share/security/share_security.xml
T
Denis Ledoux a6eac0f08e [FIX] share: share feature compatibility with Odoo 8.0
Since rev. 1ce0b70a02, ir.ui.menu
was readable for employees and portal users only

Since rev. 74aa7406bf, the navigation menus
were displayed for employees and portal users only.

Therefore, when sharing a record with the share feature, nothing was
displayed when following the link.

This rev. introduces a new group "Shared group", implied for all shared groups
created through the share feature.
Read access to menus is given to this group
The possibility to display the webclient navigation menus as well.
2015-02-06 14:01:59 +01:00

27 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">
<record model="ir.module.category" id="module_category_share">
<field name="name">Sharing</field>
<field name="parent_id" ref="base.module_category_tools"/>
<field name="sequence">26</field>
</record>
<record id="group_share_user" model="res.groups">
<field name="name">User</field>
<field name="comment">
Members of this groups have access to the sharing wizard, which allows them to invite external users to view or edit some of their documents.</field>
<field name="category_id" ref="module_category_share"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_shared" model="res.groups">
<field name="name">Shared Group</field>
<field name="comment">
This group is a template group for shared users, giving basic access needs, the menus for instance.</field>
<field name="category_id" ref="module_category_share"/>
<field name="share">1</field>
</record>
</data>
</openerp>