deploy: cc6b4980ef
This commit is contained in:
@@ -4535,20 +4535,24 @@ shown.</p>
|
|||||||
</code></pre>
|
</code></pre>
|
||||||
<hr />
|
<hr />
|
||||||
<h3 id="user_types"><a class="header" href="#user_types"><code>user_types</code></a></h3>
|
<h3 id="user_types"><a class="header" href="#user_types"><code>user_types</code></a></h3>
|
||||||
<p>Configuration settings related to the user types feature.</p>
|
<p><em>(object)</em> Configuration settings related to the user types feature.</p>
|
||||||
<p>This setting has the following sub-options:</p>
|
<p>This setting has the following sub-options:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>default_user_type</code>: The default user type to use for registering new users when no value has been specified.
|
<li>
|
||||||
Defaults to none.</li>
|
<p><code>default_user_type</code> (string|null): The default user type to use for registering new users when no value has been specified. Defaults to none. Defaults to <code>null</code>.</p>
|
||||||
<li><code>extra_user_types</code>: Array of additional user types to allow. These are treated as real users. Defaults to [].</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><code>extra_user_types</code> (list): Array of additional user types to allow. These are treated as real users. Defaults to <code>[]</code>.</p>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Example configuration:</p>
|
<p>Example configuration:</p>
|
||||||
<pre><code class="language-yaml">user_types:
|
<pre><code class="language-yaml">user_types:
|
||||||
default_user_type: "custom"
|
default_user_type: custom
|
||||||
extra_user_types:
|
extra_user_types:
|
||||||
- "custom"
|
- custom
|
||||||
- "custom2"
|
- custom2
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
<hr />
|
||||||
<h2 id="homeserver-blocking"><a class="header" href="#homeserver-blocking">Homeserver blocking</a></h2>
|
<h2 id="homeserver-blocking"><a class="header" href="#homeserver-blocking">Homeserver blocking</a></h2>
|
||||||
<p>Useful options for Synapse admins.</p>
|
<p>Useful options for Synapse admins.</p>
|
||||||
<hr />
|
<hr />
|
||||||
|
|||||||
@@ -772,6 +772,37 @@
|
|||||||
"24h"
|
"24h"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"user_types": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "Configuration settings related to the user types feature.",
|
||||||
|
"properties": {
|
||||||
|
"default_user_type": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"description": "The default user type to use for registering new users when no value has been specified. Defaults to none.",
|
||||||
|
"default": null
|
||||||
|
},
|
||||||
|
"extra_user_types": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Array of additional user types to allow. These are treated as real users.",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"default": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"default_user_type": "custom",
|
||||||
|
"extra_user_types": [
|
||||||
|
"custom",
|
||||||
|
"custom2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"admin_contact": {
|
"admin_contact": {
|
||||||
"type": [
|
"type": [
|
||||||
"string",
|
"string",
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -815,20 +815,24 @@ shown.</p>
|
|||||||
</code></pre>
|
</code></pre>
|
||||||
<hr />
|
<hr />
|
||||||
<h3 id="user_types"><a class="header" href="#user_types"><code>user_types</code></a></h3>
|
<h3 id="user_types"><a class="header" href="#user_types"><code>user_types</code></a></h3>
|
||||||
<p>Configuration settings related to the user types feature.</p>
|
<p><em>(object)</em> Configuration settings related to the user types feature.</p>
|
||||||
<p>This setting has the following sub-options:</p>
|
<p>This setting has the following sub-options:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>default_user_type</code>: The default user type to use for registering new users when no value has been specified.
|
<li>
|
||||||
Defaults to none.</li>
|
<p><code>default_user_type</code> (string|null): The default user type to use for registering new users when no value has been specified. Defaults to none. Defaults to <code>null</code>.</p>
|
||||||
<li><code>extra_user_types</code>: Array of additional user types to allow. These are treated as real users. Defaults to [].</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<p><code>extra_user_types</code> (list): Array of additional user types to allow. These are treated as real users. Defaults to <code>[]</code>.</p>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Example configuration:</p>
|
<p>Example configuration:</p>
|
||||||
<pre><code class="language-yaml">user_types:
|
<pre><code class="language-yaml">user_types:
|
||||||
default_user_type: "custom"
|
default_user_type: custom
|
||||||
extra_user_types:
|
extra_user_types:
|
||||||
- "custom"
|
- custom
|
||||||
- "custom2"
|
- custom2
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
<hr />
|
||||||
<h2 id="homeserver-blocking"><a class="header" href="#homeserver-blocking">Homeserver blocking</a></h2>
|
<h2 id="homeserver-blocking"><a class="header" href="#homeserver-blocking">Homeserver blocking</a></h2>
|
||||||
<p>Useful options for Synapse admins.</p>
|
<p>Useful options for Synapse admins.</p>
|
||||||
<hr />
|
<hr />
|
||||||
|
|||||||
Reference in New Issue
Block a user