Ability to delete a user account
i used self hosting in my projects. but the users have a abnormal user. the user always can't login. even password is correct. i want delete the user and register again. what can i do? thanks.
Currently the only way is to do this via elasticsearch DELETE /organizations-v1/users/idhere We currently don't have a view for managing users but that would be a nice to have to reuse the profile page and add a route for the user with a delete button. Would this be something you'd be willing to submit a pr for? What issues are they seeing with login? It would be great to get any issues fixed.
I used DELETE /organizations-v1/users/idhere is work. Thanks!!
If they are still having issues logging in, please let me know.
Hi @niemyjski! Anybody working on this enhancement?
@sisbilir not that I'm aware of but it would be greatly appreciated if a PR was done. We'd just need an api end point and then some logic in the code. We could keep it simple in the controller just check to see if the user is apart of any organizations and if they are, return bad request with a message saying you must remove all leave or remove all organizations and then once that's done just remove the user account. It would be really easy to add this and a confirm button in the UI on the profile page.
@niemyjski I can work on it.
I'm closing this for now, but if anyone would be willing to submit a pr for this it would be greatly appreciated.