deploy: cc6b4980ef
This commit is contained in:
@@ -4535,20 +4535,24 @@ shown.</p>
|
||||
</code></pre>
|
||||
<hr />
|
||||
<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>
|
||||
<ul>
|
||||
<li><code>default_user_type</code>: The default user type to use for registering new users when no value has been specified.
|
||||
Defaults to none.</li>
|
||||
<li><code>extra_user_types</code>: Array of additional user types to allow. These are treated as real users. Defaults to [].</li>
|
||||
<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>
|
||||
<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>
|
||||
<p>Example configuration:</p>
|
||||
<pre><code class="language-yaml">user_types:
|
||||
default_user_type: "custom"
|
||||
default_user_type: custom
|
||||
extra_user_types:
|
||||
- "custom"
|
||||
- "custom2"
|
||||
- custom
|
||||
- custom2
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h2 id="homeserver-blocking"><a class="header" href="#homeserver-blocking">Homeserver blocking</a></h2>
|
||||
<p>Useful options for Synapse admins.</p>
|
||||
<hr />
|
||||
|
||||
@@ -772,6 +772,37 @@
|
||||
"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": {
|
||||
"type": [
|
||||
"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>
|
||||
<hr />
|
||||
<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>
|
||||
<ul>
|
||||
<li><code>default_user_type</code>: The default user type to use for registering new users when no value has been specified.
|
||||
Defaults to none.</li>
|
||||
<li><code>extra_user_types</code>: Array of additional user types to allow. These are treated as real users. Defaults to [].</li>
|
||||
<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>
|
||||
<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>
|
||||
<p>Example configuration:</p>
|
||||
<pre><code class="language-yaml">user_types:
|
||||
default_user_type: "custom"
|
||||
default_user_type: custom
|
||||
extra_user_types:
|
||||
- "custom"
|
||||
- "custom2"
|
||||
- custom
|
||||
- custom2
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h2 id="homeserver-blocking"><a class="header" href="#homeserver-blocking">Homeserver blocking</a></h2>
|
||||
<p>Useful options for Synapse admins.</p>
|
||||
<hr />
|
||||
|
||||
Reference in New Issue
Block a user