-
Notifications
You must be signed in to change notification settings - Fork 0
Description
"As a group moderator on a different instance than the group's home, I want to perform moderation actions that are recognized by the group."
When moderators are distributed across instances, we need a flow for remote mods to request actions that the group's home instance executes.
Suggested flow:
-
Group's
interactionPolicy(see Who can perform actions? #26) includes remote moderator incanModerate(or more fine-grained permissions likecanCurate):"canCurate": { "automaticApproval": ["attributedTo"], "manualApproval": [] }
Where
attributedTocollection includes remote mod. -
Remote mod sends action request to group inbox:
-
{ "type": "Undo", "actor": "https://remote.example/users/mod", "to: "https://example.org/groups/1", "object": { "type": "Announce", "actor": "https://example.org/groups/1", "object": "https://example.org/posts/announced-post-to-hide" } }or:
{ "type": "Delete", "actor": "https://remote.example/users/mod", "to: "https://example.org/groups/1", "object": { "type": "Note", "actor": "https://example.org/actors/alice", "object": "https://example.org/posts/nested-post-to-hide" } } -
Group's home instance:
- Verifies mod has permission
- Executes the action (removes the Announce)
- Federates the
Undo{Announce}orDelete{Note}to followers
Key insight: The group's outgoing activity IS the authorization. The moderator's instance should not apply this side effect to the group until received from the group's home server.