Commit Graph

11 Commits

Author SHA1 Message Date
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
f1da4fd55d using old isAdmin function to create account 2023-05-02 16:49:29 +02:00
6fec0c682e Merging full service user feature into main (#819)
Merging full feature branch into main.
Adding full support for service users including backend objects, persistence, verification and api endpoints.
2023-04-22 12:57:51 +02:00
45badd2c39 add event store to user tests 2023-04-01 11:11:30 +02:00
a7519859bc fix test 2023-03-30 14:15:44 +02:00
5c1acdbf2f move validation into account manager + func for get requests 2023-03-30 13:58:44 +02:00
c5942e6b33 store hashed token base64 encoded 2023-03-29 15:21:53 +02:00
94d39ab48c improve style for tests 2023-03-21 13:34:48 +01:00
e30def175b switch PATs to map and add deletion 2023-03-20 16:14:55 +01:00
b852198f67 codacy and lint hints 2023-03-20 11:44:12 +01:00
b8cab2882b storing and retrieving PATs 2023-03-16 15:57:44 +01:00