netbird/management/server/http/api
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
..
cfg.yaml Feature/add nameservers API endpoint (#491) 2022-10-10 11:06:54 +02:00
generate.sh Handle user delete (#1113) 2023-09-19 18:08:40 +02:00
openapi.yml Handle user delete (#1113) 2023-09-19 18:08:40 +02:00
types.gen.go Handle user delete (#1113) 2023-09-19 18:08:40 +02:00