<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018,2021 Ivan Yelizariev <https://twitter.com/yelizariev>
     Copyright 2018 Ildar Nasyrov <https://it-projects.info/team/iledarn>
     License MIT (https://opensource.org/licenses/MIT).
    -->
<odoo>
    <record id="base.access_ir_module_module_group_user" model="ir.model.access">
        <field name="active" eval="False" />
    </record>
    <record id="module_category_access_apps" model="ir.module.category">
        <field name="name">Apps access</field>
        <field name="sequence">18</field>
    </record>
    <record id="group_allow_apps_only_from_settings" model="res.groups">
        <field name="name">Allow installing apps only from settings</field>
        <field name="implied_ids" eval="[(4, ref('base.group_system'))]" />
    </record>
    <record id="group_allow_apps" model="res.groups">
        <field name="name">Allow installing apps</field>
        <field
            name="user_ids"
            eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
        />
        <field
            name="implied_ids"
            eval="[(4, ref('group_allow_apps_only_from_settings'))]"
        />
    </record>
    <record model="ir.ui.menu" id="base.menu_management">
        <field name="group_ids" eval="[(6,0, [ref('access_apps.group_allow_apps')])]" />
    </record>
</odoo>
