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

Check datasource level perms for downloading csv and fetching results #2032

Merged
merged 2 commits into from
Jan 26, 2017
Merged

Check datasource level perms for downloading csv and fetching results #2032

merged 2 commits into from
Jan 26, 2017

Conversation

bkyryliuk
Copy link
Member

@bkyryliuk bkyryliuk commented Jan 24, 2017

Solves: #2031
Prior this PR running sql could be done on the granular datasource access, but fetching the results and downloading csv required full database access.
This PR fixes it and adds index on the query table on the result_key field.

Tested: on staging.

Reviewers:

@bkyryliuk
Copy link
Member Author

@mistercrunch - merging this, need to fix sql lab perms.

@bkyryliuk bkyryliuk merged commit c5c7302 into apache:master Jan 26, 2017
@bkyryliuk bkyryliuk deleted the fix_sql_fetch_result_perms branch January 26, 2017 00:02
SalehHindi pushed a commit to SalehHindi/superset that referenced this pull request Jun 9, 2017
…apache#2032)

* Check datasource level perms for downloading csv and fetching results

* Add index on the query table on the result key column
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.16.0 labels Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants