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

fix(provisioning): Clean up orphaned accounts #8993

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Oct 24, 2023

Due to #8606 I've had a defunct account on my dev env. It was impossible to get rid of, except for manipulating the db.

This adds logic to clean-up such accounts automatically.

Fixes #6889

How to test

  1. Create an account
  2. Change the account's provisioning_id to a random number
  3. Try to get rid of the account

main: it's impossible 😠
here: occ mail:clean-up 😎

Copy link
Contributor

@hamza221 hamza221 left a comment

Choose a reason for hiding this comment

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

✅ Tested, now I have to re-signin

@ChristophWurst
Copy link
Member Author

/backport to stable3.4

@ChristophWurst ChristophWurst force-pushed the fix/provisioning/clean-up-orphan-accounts branch from ce48a7e to ed228bb Compare November 30, 2023 06:54
@ChristophWurst
Copy link
Member Author

/backport to stable3.5

@ChristophWurst ChristophWurst merged commit 09b8929 into main Dec 27, 2023
34 checks passed
@ChristophWurst ChristophWurst deleted the fix/provisioning/clean-up-orphan-accounts branch December 27, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove Account provisioning
3 participants