Skip to content

Commit e7adfd5

Browse files
Fix missed rst->md numbered list syntax for m.room.server_acl (matrix-org#3681)
* Fix missed rst->md numbered list syntax
1 parent c400dc9 commit e7adfd5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix broken syntax in Server Access Control Lists definition.

data/event-schemas/schema/m.room.server_acl.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ description: |-
1616
the following order:
1717
1818
1. If there is no `m.room.server_acl` event in the room state, allow.
19-
#. If the server name is an IP address (v4 or v6) literal, and `allow_ip_literals`
19+
2. If the server name is an IP address (v4 or v6) literal, and `allow_ip_literals`
2020
is present and `false`, deny.
21-
#. If the server name matches an entry in the `deny` list, deny.
22-
#. If the server name matches an entry in the `allow` list, allow.
23-
#. Otherwise, deny.
21+
3. If the server name matches an entry in the `deny` list, deny.
22+
4. If the server name matches an entry in the `allow` list, allow.
23+
5. Otherwise, deny.
2424
2525
**Note:**
2626
Server ACLs do not restrict the events relative to the room DAG via authorisation

0 commit comments

Comments
 (0)