Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Fix #2021: Allow users to be deleted #2123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nyanshak
Copy link
Contributor

  • Adds API endpoints to allow deleting users. Following patterns in the
    rest of the API, to delete one user, use DELETE /api/v1/kolide/users/{id}" and to delete multiple users, POSTan array of ids to/api/v1/kolide/users/delete`.

* Adds API endpoints to allow deleting users. Following patterns in the
rest of the API, to delete one user, use `DELETE
/api/v1/kolide/users/{id}" and to delete multiple users, `POST` an array
of ids to `/api/v1/kolide/users/delete`.
@nyanshak nyanshak force-pushed the fix-2021-allow-users-to-be-deleted branch from a51fcdd to 75c060a Compare October 31, 2019 20:47
@zwass
Copy link
Contributor

zwass commented Nov 12, 2019

Thanks for contributing this, and apologies for the delay in review. I'd like to get user deletion merged, but I am concerned about using soft-deletion as the strategy. Ideally I'd like to address #2146 and then hard-delete users. For now we have "disable" which is fairly similar to soft deletion.

Do you have a specific use case for this right now? If not I'd like to hold off on merging until we can address #2146 and then try to do this more thoroughly including support in the frontend and/or fleetctl.

@nyanshak
Copy link
Contributor Author

I agree with that approach (hard-delete vs soft-delete). I was trying to follow the pattern I saw in the other tables, but was hoping to raise that as a separate issue later :)

@zwass
Copy link
Contributor

zwass commented Oct 22, 2020

We can revisit this now that #2327 has been merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants