diff options
author | Shay <hillerys@element.io> | 2024-01-22 05:59:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 13:59:45 +0000 |
commit | a68b48a5dd0b617f12677b137742b813a2d805bb (patch) | |
tree | c2857be9b019985571cda0e09eea6f2dcd91a409 /docs/usage/configuration/config_documentation.md | |
parent | Bump regex from 1.9.6 to 1.10.3 (#16837) (diff) | |
download | synapse-a68b48a5dd0b617f12677b137742b813a2d805bb.tar.xz |
Allow room creation but not publishing to continue if room publication rules are violated when creating a new room. (#16811)
Prior to this PR, if a request to create a public (public as in published to the rooms directory) room violated the room list publication rules set in the [config](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#room_list_publication_rules), the request to create the room was denied and the room was not created. This PR changes the behavior such that when a request to create a room published to the directory violates room list publication rules, the room is still created but the room is not published to the directory.
Diffstat (limited to 'docs/usage/configuration/config_documentation.md')
-rw-r--r-- | docs/usage/configuration/config_documentation.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md index 8723b9a3fe..638a459ed5 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md @@ -3959,6 +3959,9 @@ The first rule that matches decides if the request is allowed or denied. If no rule matches, the request is denied. In particular, this means that configuring an empty list of rules will deny every alias creation request. +Requests to create a public (public as in published to the room directory) room which violates +the configured rules will result in the room being created but not published to the room directory. + Each rule is a YAML object containing four fields, each of which is an optional string: * `user_id`: a glob pattern that matches against the user publishing the room. |