SwissDataScienceCenter / renku-data-services

Services that handle reading and writing data from a database
Apache License 2.0
3 stars 2 forks source link

Update the `/user` endpoint to include `is_admin` #287

Open leafty opened 2 months ago

leafty commented 2 months ago

Add the is_admin field to the API response.

See https://github.com/SwissDataScienceCenter/renku-ui/issues/3223: renku-ui can drop API queries to Keycloak, but to do so requires support for knowing whether the current user is an admin or not.

leafty commented 1 month ago

Uuuh that commit just broke issues.