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

Pass the query authorizer to subqueries #10549

Merged
merged 1 commit into from
Dec 10, 2018

Conversation

jsternberg
Copy link
Contributor

The query authorizer was not being properly passed to subqueries so
rejections did not happen when a subquery was the one reading the value.
Similarly, the max series limit was not being propagated downwards
either.

The query authorizer was not being properly passed to subqueries so
rejections did not happen when a subquery was the one reading the value.
Similarly, the max series limit was not being propagated downwards
either.
@ghost ghost assigned jsternberg Dec 7, 2018
@ghost ghost added the review label Dec 7, 2018
Copy link
Contributor

@mark-rushakoff mark-rushakoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Stuart is more familiar than I am with the nature of the problem, so adding him as a reviewer too.

Copy link
Contributor

@stuartcarnie stuartcarnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, too 👍🏻

@mark-rushakoff mark-rushakoff merged commit 1e1034f into master Dec 10, 2018
@ghost ghost removed the review label Dec 10, 2018
@mark-rushakoff mark-rushakoff deleted the js-pass-query-authorizer-to-subqueries branch December 10, 2018 18:03
mark-rushakoff pushed a commit that referenced this pull request Dec 10, 2018
The query authorizer was not being properly passed to subqueries so
rejections did not happen when a subquery was the one reading the value.
Similarly, the max series limit was not being propagated downwards
either.
mark-rushakoff added a commit that referenced this pull request Dec 10, 2018
…er-to-subqueries

Backport #10549: Pass the query authorizer to subqueries
mark-rushakoff pushed a commit that referenced this pull request Dec 11, 2018
The query authorizer was not being properly passed to subqueries so
rejections did not happen when a subquery was the one reading the value.
Similarly, the max series limit was not being propagated downwards
either.
mark-rushakoff pushed a commit that referenced this pull request Dec 11, 2018
The query authorizer was not being properly passed to subqueries so
rejections did not happen when a subquery was the one reading the value.
Similarly, the max series limit was not being propagated downwards
either.

The original change modified query/subquery_test.go, but the 1.5 branch
does not have the file, and appeared to be unable to compile that file
as it appeared originally; so this backport does not include the test.
mark-rushakoff added a commit that referenced this pull request Dec 11, 2018
…er-to-subqueries

Backport #10549: Pass the query authorizer to subqueries
mark-rushakoff added a commit that referenced this pull request Dec 11, 2018
…er-to-subqueries

Backport #10549: Pass the query authorizer to subqueries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants