1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-31 03:45:13 +00:00
This commit is contained in:
Kim Brose 2025-03-28 12:46:30 +00:00 committed by GitHub
commit 8f3380d122
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 13 deletions

1
changelog.d/18286.doc Normal file
View file

@ -0,0 +1 @@
Update room_list_publication_rules docs that were missed in v.126.0. Contributed by @HarHarLinks.

View file

@ -4325,23 +4325,11 @@ room list by default_
Example configuration:
```yaml
# No rule list specified. Anyone may publish any room to the public list.
# No rule list specified. No one may publish any room to the public list, except server admins.
# This is the default behaviour.
room_list_publication_rules:
```
```yaml
# A list of one rule which allows everything.
# This has the same effect as the previous example.
room_list_publication_rules:
- "action": "allow"
```
```yaml
# An empty list of rules. No-one may publish to the room list.
room_list_publication_rules: []
```
```yaml
# A list of one rule which denies everything.
# This has the same effect as the previous example.
@ -4349,6 +4337,19 @@ room_list_publication_rules:
- "action": "deny"
```
```yaml
# An empty list of rules.
# This has the same effect as the previous example.
room_list_publication_rules: []
```
```yaml
# A list of one rule which allows everything.
# This was the default behaviour pre v1.126.0.
room_list_publication_rules:
- "action": "allow"
```
```yaml
# Prevent a specific user from publishing rooms.
# Allow other users to publish anything.