ghga-de/datameta

Add `GET:/users/{id}`

Closed this issue · 2 comments

We require an endpoint that returns information about a user. Regular users shall only be able to request their own user and otherwise receive a 404. group_admin users shall be able to request information about all users in their group. site_read (!) and site_admin users shall be able to retrieve information about all users.

The response shall only contain group IDs, the group information itself can be obtained through the API endpoint described in #452

Implemented in #453.