Propagation of roles and permissions from Keycloak to Superset
Problem Description I was able to set up authentication via Keycloak thanks to a couple of Stackoverflow answers and quite satisfied with the outcome. As of now, I'm able to manage users completely via Keycloak, every newly created user in Keycloak is given the role of an admin by default (handled by the OIDC Custom Security Manager script) and requires either the user to sign in to Superset and downgrade his role (to Gamma) or have the admin do this for him and this isn't a very graceful solution to managing users in a production environment.
Proposed Solution I was wondering it would be great if there was a way to manage Superset's roles and permissions via Keycloak as well since doing so will allow an admin to manage access to Superset from a single location as I believe this would require deep modifications to Superset's source code.
Any ideas/suggestions are welcomed :)
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.
.pinned
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.
Working on that to ...
Thanks @aciccioli please keep us posted
Since this isn't implemented, shoudln't this issue be reopend?
Any updates @aciccioli or @nawazxy as of yet. I am also facing the same issue. I can create roles from Keycloak and it reflects in superset but, I can't add permissions to it. Please @aciccioli , @nawazxy update us with the solution.
Im curious about the script you guys are using. Would it be possible to share the code that convert keycloak roles to superset ones ?
@aciccioli Please provide the update on the above posted issue. When we add more roles to the existing user in keycloak, they are not automatically getting added into superset for the same user. Please assist.
Any update on the above topic?