Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curator(api): allow deleting users #2707

Merged
merged 3 commits into from
May 25, 2022
Merged

curator(api): allow deleting users #2707

merged 3 commits into from
May 25, 2022

Conversation

abhidg
Copy link
Contributor

@abhidg abhidg commented May 23, 2022

This PR adds API endpoints to delete users. It does not have the UI changes or the cleanup process which will assign cases created by them to a nobody or community user

@abhidg abhidg requested a review from iamleeg May 23, 2022 15:26
Copy link
Contributor

@iamleeg iamleeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of tests need adding and some other clean up, I'm happy to add those changes if you're busy on other things.

The register endpoint logs in the created user, so the last created must be an admin for delete to work.
@iamleeg iamleeg merged commit 81e6a86 into main May 25, 2022
@iamleeg iamleeg deleted the 2672-delete-users branch May 25, 2022 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants