netbird/management/server/http
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
..
api Block user through HTTP API (#846) 2023-05-11 18:09:36 +02:00
middleware Block user through HTTP API (#846) 2023-05-11 18:09:36 +02:00
util error responses always lower case + duplicate error response fix 2023-04-01 11:04:21 +02:00
accounts_handler_test.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
accounts_handler.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
dns_settings_handler_test.go changed the naming convention for all handling objects and methods to have unified way 2023-02-28 15:01:24 +01:00
dns_settings_handler.go changed the naming convention for all handling objects and methods to have unified way 2023-02-28 15:01:24 +01:00
events_handler_test.go use UTC everywhere in server 2023-04-03 15:09:35 +02:00
events_handler.go changed the naming convention for all handling objects and methods to have unified way 2023-02-28 15:01:24 +01:00
groups_handler_test.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
groups_handler.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
handler.go Block user through HTTP API (#846) 2023-05-11 18:09:36 +02:00
nameservers_handler_test.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
nameservers_handler.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
pat_handler_test.go Block user through HTTP API (#846) 2023-05-11 18:09:36 +02:00
pat_handler.go move validation into account manager + func for get requests 2023-03-30 13:58:44 +02:00
peers_handler_test.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
peers_handler.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
policies_handler.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
routes_handler_test.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
routes_handler.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
rules_handler_test.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
rules_handler.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
setupkeys_handler_test.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
setupkeys_handler.go API cleanup (#824) 2023-05-03 00:15:25 +02:00
users_handler_test.go Block user through HTTP API (#846) 2023-05-11 18:09:36 +02:00
users_handler.go Block user through HTTP API (#846) 2023-05-11 18:09:36 +02:00