mirror of
https://github.com/matrix-org/synapse.git
synced 2025-10-05 20:41:24 +02:00
deploy: de1e599b9defdc9b541f14a03157f614cb688729
This commit is contained in:
parent
e686e46a85
commit
b10b0dc01a
@ -5839,6 +5839,25 @@ can publish rooms.</p>
|
|||||||
action: allow
|
action: allow
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<hr />
|
<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: { "events": { "com.example.foo" : 0 } }
|
||||||
|
trusted_private_chat: null
|
||||||
|
public_chat: null
|
||||||
|
</code></pre>
|
||||||
|
<hr />
|
||||||
<h2 id="opentracing"><a class="header" href="#opentracing">Opentracing</a></h2>
|
<h2 id="opentracing"><a class="header" href="#opentracing">Opentracing</a></h2>
|
||||||
<p>Configuration options related to Opentracing support.</p>
|
<p>Configuration options related to Opentracing support.</p>
|
||||||
<hr />
|
<hr />
|
||||||
@ -8457,6 +8476,40 @@ push:
|
|||||||
#
|
#
|
||||||
#encryption_enabled_by_default_for_room_type: invite
|
#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:
|
||||||
|
# "events":
|
||||||
|
# "com.example.myeventtype" : 0
|
||||||
|
# "m.room.avatar": 50
|
||||||
|
# "m.room.canonical_alias": 50
|
||||||
|
# "m.room.encryption": 100
|
||||||
|
# "m.room.history_visibility": 100
|
||||||
|
# "m.room.name": 50
|
||||||
|
# "m.room.power_levels": 100
|
||||||
|
# "m.room.server_acl": 100
|
||||||
|
# "m.room.tombstone": 100
|
||||||
|
# "events_default": 1
|
||||||
|
|
||||||
|
|
||||||
# Uncomment to allow non-server-admin users to create groups on this server
|
# Uncomment to allow non-server-admin users to create groups on this server
|
||||||
#
|
#
|
||||||
|
@ -2468,6 +2468,40 @@ push:
|
|||||||
#
|
#
|
||||||
#encryption_enabled_by_default_for_room_type: invite
|
#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:
|
||||||
|
# "events":
|
||||||
|
# "com.example.myeventtype" : 0
|
||||||
|
# "m.room.avatar": 50
|
||||||
|
# "m.room.canonical_alias": 50
|
||||||
|
# "m.room.encryption": 100
|
||||||
|
# "m.room.history_visibility": 100
|
||||||
|
# "m.room.name": 50
|
||||||
|
# "m.room.power_levels": 100
|
||||||
|
# "m.room.server_acl": 100
|
||||||
|
# "m.room.tombstone": 100
|
||||||
|
# "events_default": 1
|
||||||
|
|
||||||
|
|
||||||
# Uncomment to allow non-server-admin users to create groups on this server
|
# Uncomment to allow non-server-admin users to create groups on this server
|
||||||
#
|
#
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -2968,6 +2968,25 @@ can publish rooms.</p>
|
|||||||
action: allow
|
action: allow
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<hr />
|
<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: { "events": { "com.example.foo" : 0 } }
|
||||||
|
trusted_private_chat: null
|
||||||
|
public_chat: null
|
||||||
|
</code></pre>
|
||||||
|
<hr />
|
||||||
<h2 id="opentracing"><a class="header" href="#opentracing">Opentracing</a></h2>
|
<h2 id="opentracing"><a class="header" href="#opentracing">Opentracing</a></h2>
|
||||||
<p>Configuration options related to Opentracing support.</p>
|
<p>Configuration options related to Opentracing support.</p>
|
||||||
<hr />
|
<hr />
|
||||||
|
@ -2624,6 +2624,40 @@ push:
|
|||||||
#
|
#
|
||||||
#encryption_enabled_by_default_for_room_type: invite
|
#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:
|
||||||
|
# "events":
|
||||||
|
# "com.example.myeventtype" : 0
|
||||||
|
# "m.room.avatar": 50
|
||||||
|
# "m.room.canonical_alias": 50
|
||||||
|
# "m.room.encryption": 100
|
||||||
|
# "m.room.history_visibility": 100
|
||||||
|
# "m.room.name": 50
|
||||||
|
# "m.room.power_levels": 100
|
||||||
|
# "m.room.server_acl": 100
|
||||||
|
# "m.room.tombstone": 100
|
||||||
|
# "events_default": 1
|
||||||
|
|
||||||
|
|
||||||
# Uncomment to allow non-server-admin users to create groups on this server
|
# Uncomment to allow non-server-admin users to create groups on this server
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user