Moderate group content from a remote instance
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
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 https://github.com/swicg/groups/issues/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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files, tests, or entry points are identified. Start by resolving the interactionPolicy dependency in issue #26 and defining how the group inbox verifies remote moderator permissions, executes the action, and federates the resulting activity; done means the flow and its authorization behavior are specified clearly enough to implement.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend-api-design, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100