Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-9722

Fully delete user in Discourse when deleting user on MusicBrainz

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Accounts
    • Labels:
      None

      Description

      Currently when a user deletes themselves in MusicBrainz, their username and email gets updated and propagated to Discourse. However, it doesn't fully delete the account on Discourse, so we can increase the anonymisation and also unclutter the Discourse user database.

      Useful Discourse API calls:

      DELETE https://community.metabrainz.org/admin/users/{Discourse user id}.json
      

      Takes boolean parameter `delete_posts` (which should be false, per IRC discussion); see API documentation for details.

      GET https://community.metabrainz.org/users/by-external/{MusicBrainz account id}.json
      

      E.g., https://community.metabrainz.org/users/by-external/229784.json - json's .user.id is the Discourse user id that can be deleted with the above call.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              freso Frederik “Freso” S. Olesen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package