Commit Graph
7 Commits
Author SHA1 Message Date
Misha Bragin e3d2b6a408 Block user through HTTP API (#846)
The new functionality allows blocking a user in the Management service.
Blocked users lose access to the Dashboard, aren't able to modify the network map,
and all of their connected devices disconnect and are set to the "login expired" state.

Technically all above was achieved with the updated PUT /api/users endpoint,
that was extended with the is_blocked field.
2023-05-11 18:09:36 +02:00
Pascal Fischer 489892553a use UTC everywhere in server 2023-04-03 15:09:35 +02:00
Pascal Fischer 5c1acdbf2f move validation into account manager + func for get requests 2023-03-30 13:58:44 +02:00
Pascal Fischer ecc4f8a10d fix Pat handler test 2023-03-29 19:13:01 +02:00
Pascal Fischer 42ba0765c8 fix linter 2023-03-28 14:54:06 +02:00
Pascal Fischer 514403db37 use object instead of plain token for create response + handler test 2023-03-28 14:47:15 +02:00
Pascal Fischer de8608f99f add rest endpoints and update openapi doc 2023-03-21 16:02:19 +01:00