Skip to content

Conversation

@jvillafanez
Copy link
Member

@jvillafanez jvillafanez commented Nov 21, 2023

Related to https://github.com/owncloud/enterprise/issues/6032

The app will take care of converting binary attributes when searching for them.

For example, if the user_ldap app has been configured the "user search attributes" with "objectguid" (among other attributes), searching by "36E271F3" might return results, assuming the converted value we have from binary contains those characters.
Note that the converted value will also be stored as search term for the account in the "oc_account_terms" table.

@jvillafanez
Copy link
Member Author

Failing tests are known: #814

@jvillafanez
Copy link
Member Author

I don't think I can add tests for the changes in the Access class easily. Need to change attributes in the connection class, which are accessed using magic methods. It doesn't seem possible to mock those.

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
17.4% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@pako81
Copy link

pako81 commented Jun 17, 2024

merge this?

@jvillafanez jvillafanez force-pushed the attr_converter_in_search branch from fdc668b to 4b25d15 Compare June 17, 2024 09:05
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants