Skip to content

Push notification subscriptions should support more granular / arbitrary policies #22944

@trwnh

Description

@trwnh

Pitch

Possible policies that don't currently exist:

  • Mutuals
  • List members
  • Some subset of followers (although this one needs a way to create such audiences as a pre-requisite)
  • Arbitrary accounts (on a per-account basis)

On the most general end, have a way to create custom policies that check for membership within a set that contains accounts and/or contains other auto-updating sets (follows, lists, followers, audiences, mutuals).

An alternative that requires less changes: support only some additional policies, like list members or mutuals (although this is ultimately less flexible and leads to more complexity)

Motivation

Sometimes you don't want to get notifications from all your followers or all your follows.

Etc

This is partially tangent with #22937 but that issue seems to be focused on overriding conversation mutes

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiREST API, Streaming API, Web Push API

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions