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

User can't refresh some Query Results queries #4111

Open
arikfr opened this issue Sep 1, 2019 · 3 comments
Open

User can't refresh some Query Results queries #4111

arikfr opened this issue Sep 1, 2019 · 3 comments

Comments

@arikfr
Copy link
Member

arikfr commented Sep 1, 2019

Issue Summary

User A has access to Data Source A and the Query Results data source.
User B has only access to the Query Results data source.

User A creates a Query Results query which uses Data Source A.

Current behavior: User B can't refresh this query, because they don't have access to Data Source A.

Expected behavior: User B should be able to refresh this query, just like an external user can using the query API key.

@arikfr
Copy link
Member Author

arikfr commented Sep 1, 2019

Possible solution:

• "Compute" all the queries this query accesses before applying parameters.
• Make sure query creator has access to all of them.
• Allow query viewer to access them.

@rauchy
Copy link
Contributor

rauchy commented Sep 9, 2019

Is there anything left to be done here or did #4112 solve this entirely?

@arikfr
Copy link
Member Author

arikfr commented Sep 9, 2019

Currently we support the case where you have Read Only access to all the data sources involved. We should probably support the case where you have Read Only access only to the Query Results data source.

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

No branches or pull requests

2 participants