Skip to content

Fix room_list_publication_rules docs for v.126.0 #18286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/18286.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update room_list_publication_rules docs that were missed in v.126.0. Contributed by @HarHarLinks.
15 changes: 8 additions & 7 deletions docs/usage/configuration/config_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4325,28 +4325,29 @@ 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.
# A list of one rule which denies everything.
# This has the same effect as the previous example.
room_list_publication_rules:
- "action": "allow"
- "action": "deny"
```

```yaml
# An empty list of rules. No-one may publish to the room list.
# 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 denies everything.
# This has the same effect as the previous example.
# A list of one rule which allows everything.
# This was the default behaviour pre v1.126.0.
room_list_publication_rules:
- "action": "deny"
- "action": "allow"
```

```yaml
Expand Down