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

Search Service: an error condition under permission query optimization mode was introduced in 6.5 #11133

Open
landreev opened this issue Jan 7, 2025 · 0 comments · May be fixed by #11134
Open

Comments

@landreev
Copy link
Contributor

landreev commented Jan 7, 2025

During the cleanup and refactoring of the permission query building code in SearchServiceBean, under #10706, one very specific use case/workaround got overwritten.
When the permission query optimization mode is enabled (avoid-expensive-solr-join=true) AND the user has more than 1 active group, the combined query must be built a certain way that's different from what we've been using otherwise.
Unfortunately, this was not caught before/during the 6.5 release - because the combination of the above conditions was needed for the issue to manifest itself.

I have however enabled the optimization on demo, where all the users (including the guest/anonymous user, apparently) are members of multiple groups. So, going forward an issue like this will be caught during the deployment there.

Will be easy to rectify. Jim and I talked about this yesterday, he already has a fix that appears to be working at QDR.

@qqmyers qqmyers linked a pull request Jan 7, 2025 that will close this issue
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 a pull request may close this issue.

1 participant