You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running an instance with federation enabled for posts. If someone has a blog that is Unlisted, and someone subscribes to that blog via ActivityPub, and then they set the blog to Private, posts that are made from then on will still be federated to other people.
This is also true for "Password-Protected". The full text of the article federates out to any subscribers.
Expected behavior
I would expect that federation would halt while Private, similar to how the RSS feed returns a 404 after you switch to Private.
Application configuration
Multi-user mode
sqlite
Open registration
Federation enabled
Disabled http auth
Multiple blogs per user
Version or last commit: latest develop as of 3493921
The text was updated successfully, but these errors were encountered:
dariusk
changed the title
Posts still federate after setting blog to "Private"
Posts still federate after setting blog to "Private" or "Password-protected"
Oct 13, 2020
Thanks for catching this! Definitely a bug we need to fix.
There's a short-term and a long-term fix here. In the short-term, we can simply prevent federation in the federatePost() func. We'd simply return early in the func if the post shouldn't federate (in these cases):
Config: app.cfg.App.Private
Blog visibility: p.Collection.Visibility == CollPrivate || p.Collection.Visibility == CollProtected
The long-term / permanent fix would be: switching a blog to Private or Password-protected should probably delete the Actor and all Articles from the fediverse. This is something we need for account deletion too (open PRs: #203 and #204), so it'd be great to address those core tasks (T720 and T721) -- and we'd really appreciate help here from anyone in the community!
For now, if anyone would like to address the short-term fix here, please feel free to claim this issue and submit a PR. Otherwise I'll work on a fix sometime before the v0.13 release.
Observed behavior
I am running an instance with federation enabled for posts. If someone has a blog that is Unlisted, and someone subscribes to that blog via ActivityPub, and then they set the blog to Private, posts that are made from then on will still be federated to other people.
This is also true for "Password-Protected". The full text of the article federates out to any subscribers.
Expected behavior
I would expect that federation would halt while Private, similar to how the RSS feed returns a 404 after you switch to Private.
Application configuration
Version or last commit: latest
develop
as of 3493921The text was updated successfully, but these errors were encountered: