polar icon indicating copy to clipboard operation
polar copied to clipboard

Delete account from settings

Open birkjernstrom opened this issue 1 year ago • 3 comments

Currently, this is done manually upon request to [email protected]

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 avatar Mar 11 '24 15:03 birkjernstrom

I will work on this

codenoid avatar Sep 15 '24 04:09 codenoid

Hey @codenoid. Have you had the chance to look into this any further? 🙂 Totally understand if it became bigger than anticipated or other things came up :)

birkjernstrom avatar Oct 03 '24 13:10 birkjernstrom

@birkjernstrom really sorry for the delay, the project structure is easy to learn, but I had something comes up right now, please don't wait for me if someone want to work on this, Thanks!

codenoid avatar Oct 03 '24 13:10 codenoid