Skip to content
Snippets Groups Projects

MOD api enpdpoints must use keycloak role names instead internal odoo ones

8 files
+ 116
86
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -6,11 +6,6 @@
<field name="value">http://keycloak/</field>
</record>
<record id="ce_ck_server_port_id" model="ir.config_parameter">
<field name="key">ce.ck_server_port</field>
<field name="value">8080</field>
</record>
<record id="ce_ck_platform_oauth_provider_id" model="ir.config_parameter">
<field name="key">ce.ck_platform_oauth_provider_id</field>
<field name="value" ref="auth_keycloak.default_keycloak_provider"/>
@@ -21,6 +16,11 @@
<field name="value">ce_members_group</field>
</record>
<record id="ce_ck_role_mapped_to_odoo_group_ce_member" model="ir.config_parameter">
<field name="key">ce.ck_role_mapped_to_odoo_group_ce_member</field>
<field name="value">ce_member_role</field>
</record>
<record id="odoo_group_ce_member" model="ir.config_parameter">
<field name="key">ce.odoo_group_ce_member</field>
<field name="value" ref="ce.role_ce_member"/>
@@ -31,6 +31,11 @@
<field name="value">ce_admins_group</field>
</record>
<record id="ce_ck_role_mapped_to_odoo_group_ce_admin" model="ir.config_parameter">
<field name="key">ce.ck_role_mapped_to_odoo_group_ce_admin</field>
<field name="value">ce_admin_role</field>
</record>
<record id="odoo_group_ce_admin" model="ir.config_parameter">
<field name="key">ce.odoo_group_ce_admin</field>
<field name="value" ref="ce.role_ce_admin" />
@@ -41,6 +46,11 @@
<field name="value">platform_admins_group</field>
</record>
<record id="ce_ck_role_mapped_to_odoo_group_platform_admin" model="ir.config_parameter">
<field name="key">ce.ck_role_mapped_to_odoo_group_platform_admin</field>
<field name="value">platform_admin_role</field>
</record>
<record id="odoo_group_platform_admin" model="ir.config_parameter">
<field name="key">ce.odoo_group_platform_admin</field>
<field name="value" ref="ce.role_platform_admin" />
Loading