summary refs log tree commit diff
path: root/develop/usage/configuration/homeserver_sample_config.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/homeserver_sample_config.html
parentdeploy: 409573f6d0f146db2a55914cb7b65a0a95f6fde5 (diff)
downloadsynapse-b10b0dc01a50ebcbacf49ac5bcbc2d5d7f816d9c.tar.xz
deploy: de1e599b9defdc9b541f14a03157f614cb688729
Diffstat (limited to 'develop/usage/configuration/homeserver_sample_config.html')
-rw-r--r--develop/usage/configuration/homeserver_sample_config.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/develop/usage/configuration/homeserver_sample_config.html b/develop/usage/configuration/homeserver_sample_config.html

index fe8852586e..b412f1caa3 100644 --- a/develop/usage/configuration/homeserver_sample_config.html +++ b/develop/usage/configuration/homeserver_sample_config.html
@@ -2624,6 +2624,40 @@ push: # #encryption_enabled_by_default_for_room_type: invite +# Override the default power levels for rooms created on this server, per +# room creation preset. +# +# The appropriate dictionary for the room preset will be applied on top +# of the existing power levels content. +# +# 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 +# `power_level_content_override` parameter in the /createRoom API, but +# is applied before that parameter. +# +# Valid keys are some or all of `private_chat`, `trusted_private_chat` +# and `public_chat`. Inside each of those should be any of the +# properties allowed in `power_level_content_override` in the +# /createRoom API. If any property is missing, its default value will +# continue to be used. If any property is present, it will overwrite +# the existing default completely (so if the `events` property exists, +# the default event power levels will be ignored). +# +#default_power_level_content_override: +# private_chat: +# &quot;events&quot;: +# &quot;com.example.myeventtype&quot; : 0 +# &quot;m.room.avatar&quot;: 50 +# &quot;m.room.canonical_alias&quot;: 50 +# &quot;m.room.encryption&quot;: 100 +# &quot;m.room.history_visibility&quot;: 100 +# &quot;m.room.name&quot;: 50 +# &quot;m.room.power_levels&quot;: 100 +# &quot;m.room.server_acl&quot;: 100 +# &quot;m.room.tombstone&quot;: 100 +# &quot;events_default&quot;: 1 + # Uncomment to allow non-server-admin users to create groups on this server #