Unable to grant per datasource/schema access with 0.34.0rc1
See original GitHub issueOriginal 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Unable to grant per datasource/schema access with 0.34. ...
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...
Read more >how to give individual schema access to users in apache- ...
As per the Superset documentation, you can not create access level on the schema but you can create access on data source level....
Read more >GRANT Schema Permissions (Transact-SQL) - SQL Server
Specifies the principal to which the permission is being granted. One of the following: database user; database role; application role; database ...
Read more >Unable to connect to Oracle 11g User Schema as Data ...
I have created new schemas in Oracle DB as per the default scripts "DEN70EDUD1001LAB01-Oracle" & "DEN70EDUD1004LAB04-Oracle" provided.
Read more >GRANT - Amazon Redshift
Defines access privileges for a user or user group. Use this command to give specific privileges on a table, database, or schema.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the label
#bug
to this issue, with a confidence of 0.89. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
Any updates on this issue. Instead of the database, we gave permission on the schema. Still, all tables under a schema are accessible.