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

[feature] Federate local account deletion #431

Merged
merged 10 commits into from
Mar 15, 2022
Merged

Conversation

tsmethurst
Copy link
Contributor

This PR adds:

  • An API path (/api/v1/accounts/delete) to allow an instance user to delete their own account.
  • API documentation for the path.
  • Logic for federating deletes to remote instances (to followers and cc public).
  • Tests for the above.

Still to do (in another PR): add a method whereby admins can delete accounts and have them federate out properly. Probably /api/v1/admin/accounts/:account_id/action like mastodon has.

Closes #423

@tsmethurst tsmethurst merged commit 532c4cc into main Mar 15, 2022
@tsmethurst tsmethurst deleted the local_account_deletion branch March 15, 2022 15:12
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.

[feature] Delete activity for accounts should be propagated out to remote instances
1 participant