Allow self-closing of account #120

Open
opened 2023-04-11 09:49:48 +00:00 by raucao · 2 comments
Owner

Currently, we do not allow users to close accounts themselves, because we have not implemented deleting accounts automatically on the various connected services, and doing that in a manner appropriate to the respective use cases.

To do

  • Identify/list which data can be deleted and which has to be preserved (e.g. public comments on Gitea issues and such)
  • Identify where tombstones may be needed
  • Decide if it's ever a good idea to free up a username again after account closing. Can be problematic for all of security, privacy, impersonation, etc.
  • ...
Currently, we do not allow users to close accounts themselves, because we have not implemented deleting accounts automatically on the various connected services, and doing that in a manner appropriate to the respective use cases. ### To do * [ ] Identify/list which data can be deleted and which has to be preserved (e.g. public comments on Gitea issues and such) * [ ] Identify where tombstones may be needed * [ ] Decide if it's ever a good idea to free up a username again after account closing. Can be problematic for all of security, privacy, impersonation, etc. * [ ] ...
raucao added the
feature
security
ui/ux
labels 2023-04-11 09:50:08 +00:00
Owner

To help out here I collected Info on deleting accounts for each of the services I knew we served (though I'm guessing about Prosody).

This still leaves the Lightning node, and the Kosmos account itself. Not sure what else?

To help out here I collected Info on deleting accounts for each of the services I knew we served (though I'm guessing about Prosody). - Mastadon, there's a `tootctl` command: https://github.com/mastodon/mastodon/issues/1175 - Prosody (I wasn't sure which XMPP service we use) has the `prosodyctl` command which allows adding and deleting users (`prosodyctl deluser JID`): https://prosody.im/doc/prosodyctl - Discourse, enter the `launcher` console and run some commands: https://meta.discourse.org/t/delete-my-account-with-the-console/82450 - MediaWiki, seems like just an SQL command and nothing else: https://www.inmotionhosting.com/support/edu/mediawiki/mediawiki-manage-user-accounts/ - Gitea, there's a `gitea` command which can manage users as well. e.g. `gitea admin user delete --id 123`. It's unclear whether this will remove posts as well, and I wasn't able to find any specific information on that. https://docs.gitea.com/next/administration/command-line - Drone CI also has a command-line tool `drone user rm [username]`: https://docs.drone.io/cli/user/drone-user-rm/ This still leaves the Lightning node, and the Kosmos account itself. Not sure what else?
Author
Owner

I'm guessing about Prosody

We're using ejabberd. I looked up the API endpoint:

https://docs.ejabberd.im/developer/ejabberd-api/admin-api/#unregister

> I'm guessing about Prosody We're using ejabberd. I looked up the API endpoint: https://docs.ejabberd.im/developer/ejabberd-api/admin-api/#unregister
Sign in to join this conversation.
No description provided.