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

Rbac on Database visibility in datasets #32249

Open
lordicecream opened this issue Feb 13, 2025 · 1 comment
Open

Rbac on Database visibility in datasets #32249

lordicecream opened this issue Feb 13, 2025 · 1 comment
Labels
authentication:RBAC Related to RBAC

Comments

@lordicecream
Copy link

Hi Team,

We have multiple database connections available on Superset, and we would like the option to not restrict using a particular Database connection for datasets as that could inevitably lead to charts and dashboards this flooding our db.

We would like users to only be able to see that Db connection in sqllab for some adhoc queries here and there.

Is there some way this can be done already?

Originally posted by @lordicecream in #32248

@lordicecream lordicecream changed the title Hi Team, Rbac on Dashboards in datasets Feb 13, 2025
@lordicecream lordicecream changed the title Rbac on Dashboards in datasets Rbac on Database visibility in datasets Feb 13, 2025
Copy link

dosubot bot commented Feb 13, 2025

I found a similar discussion titled "Rbac on Databases for Datasets" which is currently unsolved. You can view it here [1].

Regarding your question, Superset allows you to configure database connection visibility for specific user roles or groups. You can achieve this by creating custom roles and assigning permissions to those roles for specific databases. This way, users with these roles will only see the database connections they have access to in SQL Lab. You can manage these permissions through the roles and permissions settings in Superset [2].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report

@dosubot dosubot bot added the authentication:RBAC Related to RBAC label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authentication:RBAC Related to RBAC
Projects
None yet
Development

No branches or pull requests

1 participant