Commit Graph

6 Commits

Author SHA1 Message Date
Michael Bumann
e33693398e Soft delete users (#476)
* Update Makefile

* Optionally load test DB from env variable

* Add option to soft-delete a user

This allows users to be marked as deleted.
An additional middleware checks if a user is deleted or deactivated and rejects
requests for those as StatusUnauthorized.

note: the middelware adds an additional DB query to load the user.
2024-01-09 19:38:01 +02:00
kiwiidb
aa6131c3cc update swagger 2023-05-24 14:06:48 +02:00
kiwiidb
b890c2c8ec swagger, require admin token for update user 2023-05-24 12:53:30 +02:00
kiwiidb
c9dd382027 add user id to update response 2023-05-24 12:47:32 +02:00
kiwiidb
0867baaecc integration test wip 2023-05-24 12:05:37 +02:00
kiwiidb
c0b55a3a79 add update user endpoint 2023-05-24 11:19:55 +02:00