summary refs log tree commit diff
path: root/develop/usage/configuration/config_documentation.html
diff options
context:
space:
mode:
authoranoadragon453 <anoadragon453@users.noreply.github.com>2022-05-12 10:42:11 +0000
committeranoadragon453 <anoadragon453@users.noreply.github.com>2022-05-12 10:42:11 +0000
commitb10b0dc01a50ebcbacf49ac5bcbc2d5d7f816d9c (patch)
treec483a5817554c26009f06cdb93c195e55bed7d03 /develop/usage/configuration/config_documentation.html
parentdeploy: 409573f6d0f146db2a55914cb7b65a0a95f6fde5 (diff)
downloadsynapse-b10b0dc01a50ebcbacf49ac5bcbc2d5d7f816d9c.tar.xz
deploy: de1e599b9defdc9b541f14a03157f614cb688729
Diffstat (limited to 'develop/usage/configuration/config_documentation.html')
-rw-r--r--develop/usage/configuration/config_documentation.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html

index a16cd961f0..ab92ac22ce 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html
@@ -2968,6 +2968,25 @@ can publish rooms.</p> action: allow </code></pre> <hr /> +<p>Config option: <code>default_power_level_content_override</code></p> +<p>The <code>default_power_level_content_override</code> option controls the default power +levels for rooms.</p> +<p>Useful if you know that your users need special permissions in rooms +that they create (e.g. to send particular types of state events without +needing an elevated power level). This takes the same shape as the +<code>power_level_content_override</code> parameter in the /createRoom API, but +is applied before that parameter.</p> +<p>Note that each key provided inside a preset (for example <code>events</code> in the example +below) will overwrite all existing defaults inside that key. So in the example +below, newly-created private_chat rooms will have no rules for any event types +except <code>com.example.foo</code>.</p> +<p>Example configuration:</p> +<pre><code class="language-yaml">default_power_level_content_override: + private_chat: { &quot;events&quot;: { &quot;com.example.foo&quot; : 0 } } + trusted_private_chat: null + public_chat: null +</code></pre> +<hr /> <h2 id="opentracing"><a class="header" href="#opentracing">Opentracing</a></h2> <p>Configuration options related to Opentracing support.</p> <hr />