aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-11-26 23:54:46 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-11-26 23:54:46 +0000
commit6979eeda34a7c9c201c0816f322c3a29c6d947e6 (patch)
treef2376765ffe25724e68a4265d50bb64fc99b2e7d
parent271f9f1335cfbb4b2b93c696b16c74dc3a73c756 (diff)
downloadpleroma-6979eeda34a7c9c201c0816f322c3a29c6d947e6.tar.gz
config: document mrf_user_allowlist
-rw-r--r--config/config.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/config.md b/config/config.md
index 5b4110646..c843bca5d 100644
--- a/config/config.md
+++ b/config/config.md
@@ -87,3 +87,16 @@ This section is used to configure Pleroma-FE, unless ``:managed_config`` in ``:i
* ``sts_max_age``: The maximum age for the `Strict-Transport-Security` header if sent
* ``ct_max_age``: The maximum age for the `Expect-CT` header if sent
* ``referrer_policy``: The referrer policy to use, either `"same-origin"` or `"no-referrer"`.
+
+## :mrf_user_allowlist
+
+The keys in this section are the domain names that the policy should apply to.
+Each key should be assigned a list of users that should be allowed through by
+their ActivityPub ID.
+
+An example:
+
+```
+config :pleroma, :mrf_user_allowlist,
+ "example.org": ["https://example.org/users/admin"]
+```