Files
Odoo-Modules/fusion-woo-odoo/fusion_woocommerce/security/woo_security.xml
gsinghpal 7d8f30627f changes
2026-04-07 21:42:12 -04:00

25 lines
976 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="module_category_woocommerce" model="ir.module.category">
<field name="name">WooCommerce</field>
<field name="sequence">50</field>
</record>
<record id="group_woo_user" model="res.groups">
<field name="name">WooCommerce User</field>
<field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
</record>
<record id="group_woo_manager" model="res.groups">
<field name="name">WooCommerce Manager</field>
<field name="implied_ids" eval="[(4, ref('group_woo_user'))]"/>
</record>
<!-- Auto-grant WooCommerce Manager to every internal user so the module
works out of the box without permission errors. Admins can revoke
later by removing users from this implied group. -->
<record id="base.group_user" model="res.groups">
<field name="implied_ids" eval="[(4, ref('group_woo_manager'))]"/>
</record>
</odoo>