Incubator-superset: Unable to grant per datasource/schema access with 0.34.0rc1

Created on 21 Aug 2019  路  6Comments  路  Source: apache/incubator-superset

Original issue.
https://github.com/apache/incubator-superset/issues/7554

You can't use SQL Lab if you don't grant database permission to user. It makes superset unusable with per datasource access model. You can still see dashboards, but you can't manually query any data.

If you add database permission, user can access all tables in database which is not acceptable.

Expected results

See all available database/schema/table in SQL Lab based on granted datasource access.

Actual results

SQL Lab dropdowns are empty.

How to reproduce the bug

  • create user
  • grant it only datasource permission without database access.
#bug inactive

Most helpful comment

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 6 comments

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.89. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

I had the same problem:
15_15_12__09_06_2019

grant the user only datasource permission without database access.
How to change the permission of user?

@bkyryliuk on a quick check, seems unrelated with the commit you reference since I used the same existing filter that was applied before.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Any updates on this issue.
Instead of the database, we gave permission on the schema. Still, all tables under a schema are accessible.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

josephtyler picture josephtyler  路  3Comments

lenguyenthedat picture lenguyenthedat  路  3Comments

dinhhuydh picture dinhhuydh  路  3Comments

deity-bram picture deity-bram  路  3Comments

ghost picture ghost  路  3Comments