KA-Huis / space-management

The core application of the KA-Huis
https://ka-huis.github.io/space-management
Apache License 2.0
0 stars 0 forks source link

Create endpoint to retrieve a user #105

Closed cyrildewit closed 2 years ago

cyrildewit commented 2 years ago

Description

A REST API endpoint to retrieve one user needs to be build. This way the mobile Repair Tool application can fetch data of a user. This endpoint should return different data sets based on permissions. If the authorised user is for example not the same as the requested user, other permissions should be checked first before returning the whole date. If authorised user does not have the rights to view someone else profile, he should only receive the public data set. This is necessary to show information about a user within the application. For example the profile of the current building manager.

This ticket is about version 1 of the API.

Acceptance criteria

Technical outworking

Tasks