Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] users_ldap_groups: Migration to 17.0 #673

Open
wants to merge 37 commits into
base: 17.0
Choose a base branch
from

Conversation

ryanc-me
Copy link

No description provided.

@pedrobaeza
Copy link
Member

Is this still draft? Please include #596

dreispt and others added 27 commits November 27, 2024 14:27
Currently translated at 100.0% (26 of 26 strings)

Translation: server-auth-16.0/server-auth-16.0-users_ldap_groups
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-users_ldap_groups/es/
Currently translated at 100.0% (26 of 26 strings)

Translation: server-auth-16.0/server-auth-16.0-users_ldap_groups
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-users_ldap_groups/it/
res.company.ldap.operator operators should be private methods;
public methods allow arbitrary LDAP queries via JSON-API
Currently translated at 100.0% (26 of 26 strings)

Translation: server-auth-16.0/server-auth-16.0-users_ldap_groups
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-users_ldap_groups/pt_BR/
The group mapping in query mode fails if LDAP returns binary data in any
of the fields. This adds a function that handles such situation by
base64 encoding it.
The new test test_users_ldap_groups_ldap_returns_binary_data covers
the common case where LDAP return binary data in thumbnailPhoto.
@ryanc-me ryanc-me marked this pull request as ready for review November 27, 2024 01:32
@ryanc-me
Copy link
Author

@pedrobaeza what is the policy re codecov failure for migrations?

@pedrobaeza
Copy link
Member

It's not mandatory, so don't worry too much in migrations.

@ryanc-me
Copy link
Author

ryanc-me commented Nov 27, 2024

Thanks Pedro, that's good to know.

@cvinh any chance you could review this one also?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.