Skip to content

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

Merged
bkyryliuk merged 2 commits into
apache:masterfrom
bkyryliuk:fix_sql_fetch_result_perms
Jan 26, 2017
Merged

Check datasource level perms for downloading csv and fetching results#2032
bkyryliuk merged 2 commits into
apache:masterfrom
bkyryliuk:fix_sql_fetch_result_perms

Conversation

@bkyryliuk
Copy link
Copy Markdown
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
Copy Markdown
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 First shipped in 0.16.0 labels Feb 20, 2024
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
…apache#2032)

* Check datasource level perms for downloading csv and fetching results

* Add index on the query table on the result key column
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 First shipped in 0.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants