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

Delete account from settings #2807

Open
birkjernstrom opened this issue Mar 11, 2024 · 0 comments
Open

Delete account from settings #2807

birkjernstrom opened this issue Mar 11, 2024 · 0 comments
Labels
dx Efforts that help us ship faster, improve codebase etc

Comments

@birkjernstrom
Copy link
Member

Currently, this is done manually upon request to support@polar.sh

We require & will continue to require the end user to first uninstall the Polar GitHub App in case they have it installed. It will then automatically trigger soft deletion of repositories etc on our end.

For the account/organization itself the manual approach is the following to be reproduced as a feature in the future.

  • Set deleted_at for the user/organization
  • Update PII record with hashlib.md5().update(b'<text>').hexdigest()
  • Set empty GitHub profile JSON in users table, e.g empty strings for PII and 0 for stats (public repos etc)
  • In case of email it's the above with @deleted.com as suffix
  • Change avatar_url to https://avatars.githubusercontent.com/u/105373340?s=48&v=4 (Polar logo)
@birkjernstrom birkjernstrom added the dx Efforts that help us ship faster, improve codebase etc label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Efforts that help us ship faster, improve codebase etc
Projects
Status: No status
Development

No branches or pull requests

1 participant