Open leafty opened 2 weeks ago
Information about the user is queried in different ways:
/ui-server/api/data/user
data-services
/ui-server/api/kc/realms/Renku/protocol/openid-connect/userinfo
Keycloak
/ui-server/api/user
See https://github.com/SwissDataScienceCenter/renku-data-services/issues/287: we should consolidate the first and second API requests to only query data-services. This will be possible once data-services provides the is_admin field.
is_admin
Also note that /ui-server/api/user should be moved down the App tree to only happen in Renku 1.0 routes in the future.
Information about the user is queried in different ways:
/ui-server/api/data/user
-> provides user information fromdata-services
/ui-server/api/kc/realms/Renku/protocol/openid-connect/userinfo
-> provides user information fromKeycloak
/ui-server/api/user
-> provides user information from the internal GitLab instanceSee https://github.com/SwissDataScienceCenter/renku-data-services/issues/287: we should consolidate the first and second API requests to only query
data-services
. This will be possible oncedata-services
provides theis_admin
field.Also note that
/ui-server/api/user
should be moved down the App tree to only happen in Renku 1.0 routes in the future.