WIP: Try to implement federated user deletion (fixes #1284) #144

Closed
nutomic wants to merge 2 commits from federated-user-delete into main
Owner

This is a lot more complicated than I thought. Main problem is that we need to address the delete activity to some specific actors. We might address it to all communities where the user posted, but our inbox cant receive the same activity in more than one community.

In fact a cleaner solution might be creating a special lemmy actor which represents the whole instance, and receives this Delete/User. But of course thats also more complicated to implement.

This is a lot more complicated than I thought. Main problem is that we need to address the delete activity to some specific actors. We might address it to all communities where the user posted, but our inbox cant receive the same activity in more than one community. In fact a cleaner solution might be creating a special `lemmy` actor which represents the whole instance, and receives this `Delete/User`. But of course thats also more complicated to implement.
Owner

but our inbox cant receive the same activity in more than one community.

I think that's only really a problem for the websocket events like comments and mentions, where it was posting to both a community inbox and a user inbox.

It'd probably be safest to send their user delete to all their subscribed communities. If that really can't work then we could de-dupe that by instance.

> but our inbox cant receive the same activity in more than one community. I think that's only really a problem for the websocket events like comments and mentions, where it was posting to both a community inbox and a user inbox. It'd probably be safest to send their user delete to all their subscribed communities. If that really can't work then we could de-dupe that by instance.
Owner

Is this one ready to be tested yet?

Is this one ready to be tested yet?
Author
Owner

Not at all, I'm still not sure whats a good way to handle this. Handling it on the instance level (with a special lemmy actor for each instance) seems like the cleanest solution. It would also help to do things like disable downvotes for the entire instance.

Not at all, I'm still not sure whats a good way to handle this. Handling it on the instance level (with a special `lemmy` actor for each instance) seems like the cleanest solution. It would also help to do things like disable downvotes for the entire instance.
nutomic closed this pull request 2020-12-16 15:39:26 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LemmyNet/lemmy#144
No description provided.