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

Wrap user's visibility query string in parenthesis #3956

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

rodrigozhou
Copy link
Contributor

What changed?
Wrap user's visibility query string in parenthesis.

Why?
AND has precedence over OR, so without parenthesis, if the user's query contains OR, it might mix results with other namespaces.

How did you test it?
Ran a few workflows in different namespaces, and queried with OR expressions.

Potential risks
No risks.

Is hotfix candidate?
No.

@rodrigozhou rodrigozhou requested a review from a team as a code owner February 14, 2023 23:36
@rodrigozhou rodrigozhou merged commit 0b698c1 into temporalio:master Feb 15, 2023
@rodrigozhou rodrigozhou deleted the fix-sql-query-converter branch February 15, 2023 00:15
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.

2 participants