superset icon indicating copy to clipboard operation
superset copied to clipboard

Propagation of roles and permissions from Keycloak to Superset

Open nawazxy opened this issue 6 years ago • 10 comments

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 :)

nawazxy avatar Mar 26 '20 05:03 nawazxy

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.

stale[bot] avatar May 25 '20 07:05 stale[bot]

.pinned

ArchanaSekhar20 avatar May 25 '20 09:05 ArchanaSekhar20

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.

stale[bot] avatar Jul 25 '20 04:07 stale[bot]

Working on that to ...

aciccioli avatar Feb 22 '21 18:02 aciccioli

Thanks @aciccioli please keep us posted

nawazxy avatar Feb 23 '21 08:02 nawazxy

Since this isn't implemented, shoudln't this issue be reopend?

andreas-repp avatar Mar 15 '21 17:03 andreas-repp

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.

shubham897 avatar Jul 01 '21 22:07 shubham897

Im curious about the script you guys are using. Would it be possible to share the code that convert keycloak roles to superset ones ?

manodupont avatar Dec 20 '21 12:12 manodupont

@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.

avinash-Github avatar Jul 13 '22 06:07 avinash-Github

Any update on the above topic?

krakzk avatar Oct 12 '23 04:10 krakzk