Skip to content

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

Before this MR, Odoo API REST endpoints that use the param role as payload (PUT) or that returns it (GET), it was assinging one of those values [role_ce_member,role_ce_admin,role_platform_admin] that are the odoo 'internal' xml_id's that refers to the 3 roles available into the platform.

After this MR, odoo will always assign those values [ce_member_role,ce_admin_role,platform_admin_role] that are the ones that also are implemented in Keykloac as role names.

Merge request reports

Loading