Skip to content

Exception

Tommaso Ornato edited this page Sep 7, 2023 · 2 revisions

An Exception rule adds a user to a community's whitelist, making them immune to some Comment and Post rules.

{
    "rule": "exception",
    "community": "general",
    "user_actor_id": "https://lemmy.ml/u/Bob"
}

Explanation:
This rule adds a user named Bob to the whitelist of the c/general community. This means that all Comment and Post rules for c/general with "whitelist_exempt": true will be ignored for comments and posts created by Bob.

Keys

Field Name Type Description
community string Community where the rule will be active
user_actor_id string Link to the profile of the whitelisted user
Clone this wiki locally