|
|
|
|
@ -22,18 +22,18 @@ description: |-
|
|
|
|
|
#. If the server name matches an entry in the ``allow`` list, allow.
|
|
|
|
|
#. Otherwise, deny.
|
|
|
|
|
|
|
|
|
|
.. Note::
|
|
|
|
|
**Note:**
|
|
|
|
|
Server ACLs do not restrict the events relative to the room DAG via authorisation
|
|
|
|
|
rules, but instead act purely at the network layer to determine which servers are
|
|
|
|
|
allowed to connect and interact with a given room.
|
|
|
|
|
|
|
|
|
|
.. WARNING::
|
|
|
|
|
**Warning:**
|
|
|
|
|
Failing to provide an ``allow`` rule of some kind will prevent **all**
|
|
|
|
|
servers from participating in the room, including the sender. This renders
|
|
|
|
|
the room unusable. A common allow rule is ``[ "*" ]`` which would still
|
|
|
|
|
permit the use of the ``deny`` list without losing the room.
|
|
|
|
|
|
|
|
|
|
.. WARNING::
|
|
|
|
|
**Warning:**
|
|
|
|
|
All compliant servers must implement server ACLs. However, legacy or noncompliant
|
|
|
|
|
servers exist which do not uphold ACLs, and these MUST be manually appended to
|
|
|
|
|
the denied hosts list when setting an ACL to prevent them from leaking events from
|
|
|
|
|
|