netbird/client/cmd
Givi Khojanashvili d4b6d7646c
Handle user delete (#1113)
Implement user deletion across all IDP-ss. Expires all user peers
when the user is deleted. Users are permanently removed from a local
store, but in IDP, we remove Netbird attributes for the user
untilUserDeleteFromIDPEnabled setting is not enabled.

To test, an admin user should remove any additional users.

Until the UI incorporates this feature, use a curl DELETE request
targeting the /users/<USER_ID> management endpoint. Note that this
request only removes user attributes and doesn't trigger a delete
from the IDP.

To enable user removal from the IdP, set UserDeleteFromIDPEnabled
to true in account settings. Until we have a UI for this, make this
change directly in the store file.

Store the deleted email addresses in encrypted in activity store.
2023-09-19 18:08:40 +02:00
..
down.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
login_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
login.go Improve Client Authentication (#1135) 2023-09-19 19:06:18 +03:00
root_test.go Revert preshared-key shorthand flag (#671) 2023-02-06 10:35:37 +01:00
root.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
service_controller.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
service_installer.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
service.go Revert "setting cli flags to proper commands (#860)" (#916) 2023-05-31 16:06:42 +02:00
ssh.go fix error codes on cli 2023-06-23 16:27:10 +02:00
status_test.go Use local time zone for display last update changes (#825) 2023-04-27 16:02:00 +02:00
status.go Update GitHub Actions and Enhance golangci-lint (#1075) 2023-09-04 17:03:44 +02:00
testutil.go Handle user delete (#1113) 2023-09-19 18:08:40 +02:00
up_daemon_test.go Rename module to netbirdio/netbird (#288) 2022-03-26 12:08:54 +01:00
up.go Feature/permanent dns (#967) 2023-07-14 21:56:22 +02:00
version.go Add version info command to signal server (#739) 2023-03-15 07:54:51 +01:00