Exceptionless icon indicating copy to clipboard operation
Exceptionless copied to clipboard

Ability to delete a user account

Open ArvinHsieh opened this issue 9 years ago • 7 comments

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.

ArvinHsieh avatar Sep 08 '17 11:09 ArvinHsieh

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.

niemyjski avatar Sep 08 '17 14:09 niemyjski

I used DELETE /organizations-v1/users/idhere is work. Thanks!!

ArvinHsieh avatar Sep 11 '17 13:09 ArvinHsieh

If they are still having issues logging in, please let me know.

niemyjski avatar Sep 11 '17 13:09 niemyjski

Hi @niemyjski! Anybody working on this enhancement?

sisbilir avatar Oct 26 '17 16:10 sisbilir

@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 avatar Oct 30 '17 12:10 niemyjski

@niemyjski I can work on it.

sisbilir avatar Oct 30 '17 12:10 sisbilir

I'm closing this for now, but if anyone would be willing to submit a pr for this it would be greatly appreciated.

niemyjski avatar Jan 11 '18 13:01 niemyjski