-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
No database privilege created when database is created. #9225
Comments
Hey @nytai , thanks for responding. The row based security is pretty cool! But not really what I'm looking for. I'm looking for a way to grant a user access to SQL lab for only 1 database. It seems like the way to do that is by making a new role with that database privilege (datasource and schema privileges don't appear to be enough), but I can't seem to find a way to add it. |
Interestingly enough, editing the database and saving (without making any changes) seems to resolve the problem. |
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 |
When a new database is created, there isn't a corresponding database privilege created.
I've been trying to follow the docs for adding Gamma users here: https://superset.incubator.apache.org/security.html#sql-lab
I'd like to create a Gamma user, give them sql lab rights, and give them access to a single database.
When I add a database in the UI, and try to create a new role with privileges to query that database, there doesn't appear to be one.
There is however a database privilege for the initially
examples
database. So it seems to me like there should be a database privilege for the other databases I added also, so that I can grant Gamma+sql_lite role users access to use sql lab.Expected results
A new database privilege is created when I add a database
Actual results
No database privilege is created.
Screenshots
Notice how there is no database privilege for "dwene" but there is one for "example"
How to reproduce the bug
Environment
(please complete the following information):
0.35.2
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: