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

Not able to enable DASHBOARD_RBAC in helm chart ? #28234

Closed
3 tasks done
abhishek-kgen opened this issue Apr 26, 2024 · 4 comments
Closed
3 tasks done

Not able to enable DASHBOARD_RBAC in helm chart ? #28234

abhishek-kgen opened this issue Apr 26, 2024 · 4 comments
Assignees

Comments

@abhishek-kgen
Copy link

Bug description

Hello,

I have installed a latest superset in my AWS EKS with Helm chart and I want to enable DASHBOARD_RBAC because even after assigning Gamma role to users, they are not able to view the Dashboards.

I did following in my values.yaml

configOverrides:
my_override: |
FEATURE_FLAGS = {
"DASHBOARD_RBAC": True,
"DYNAMIC_PLUGINS": True
}

Not working as expected.

How to reproduce the bug

in values.yaml

configOverrides:
my_override: |
FEATURE_FLAGS = {
"DASHBOARD_RBAC": True,
"DYNAMIC_PLUGINS": True
}

Screenshots/recordings

In the Gamma role I have added these permissions still users are not able to view the dashboard.

image

Superset version

3.1.2

Python version

Not applicable

Node version

Not applicable

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
@abhishek-kgen abhishek-kgen changed the title Not able enable DASHBOARD_RBAC in helm chart ? Not able to enable DASHBOARD_RBAC in helm chart ? Apr 26, 2024
@craig-rueda
Copy link
Member

Can you try running helm template . to verify that your overrides are being placed inside of the superset-config secret correctly?

@villebro
Copy link
Member

@abhishekindigg have you assigned roles to the dashboards you want your users to see, and assigned users to said roles? Unless they belong to the relevant roles, they won't see the dashboards (this is the whole point of Dashboard RBAC). Also, remember to publish the dashboards you want to share.

@abhishek-kgen
Copy link
Author

@villebro Thanks man!

I had to assign roles for each dashboard. It worked.

@rusackas
Copy link
Member

@abhishekindigg we always encourage updates to our documentation if you want to edit one of the pages and help others in the future :)

johnallen3d added a commit to johnallen3d/argocd-demo that referenced this issue Jan 7, 2025
not sure why `my_override` but I see this in multiple sources including:

apache/superset#28234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants