remote message filtering
It would be nice to be able to filter remote messages in various ways.
I propose we use a set of capabilities that are granted to servers by hostmask (e.g. *.example.com
).
The rights could be something like:
accept-messages: accept messages at all from these servers
include-on-ftl: include messages from these servers on federated timeline
accept-unsolicited: accept unsolicited messages and salmon slaps from the remote server (accept the activity even if the target is not following the source)
There might be some other capabilities we want to grant though.
A normal federation setup would likely grant all permissions to *
, and then have tighter permissions for specific servers. The use of masks is interesting as it provides convenient configuration of the policy.