This commit is contained in:
erikjohnston
2025-06-10 11:47:27 +00:00
parent 56f6192a47
commit c936d21af3
5 changed files with 57 additions and 18 deletions

View File

@@ -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: &quot;custom&quot;
default_user_type: custom
extra_user_types:
- &quot;custom&quot;
- &quot;custom2&quot;
- 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 />

View File

@@ -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

View File

@@ -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: &quot;custom&quot;
default_user_type: custom
extra_user_types:
- &quot;custom&quot;
- &quot;custom2&quot;
- 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 />