mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-03 17:54:14 +02:00
Apply suggestions from code review
Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
6400444aa1
commit
703d3fa81f
|
|
@ -1277,10 +1277,10 @@ endpoint MUST be protected as follows:
|
||||||
room ID MUST be ignored if the sending server is denied access to
|
room ID MUST be ignored if the sending server is denied access to
|
||||||
the room identified by that ID.
|
the room identified by that ID.
|
||||||
|
|
||||||
{{< added-in v="1.18" >}} The following endpoints MAY be protected:
|
The following endpoints MAY be protected:
|
||||||
|
|
||||||
- [`/_matrix/policy/v1/sign`](#post_matrixpolicyv1sign) - Protected if the server
|
- [`/_matrix/policy/v1/sign`](#post_matrixpolicyv1sign) - {{< added-in v="1.18" >}}
|
||||||
is tracking the DAG and chooses to enforce the ACL.
|
Protected if the server is tracking the DAG and chooses to enforce the ACL.
|
||||||
|
|
||||||
|
|
||||||
## Policy Servers
|
## Policy Servers
|
||||||
|
|
@ -1396,7 +1396,7 @@ allow rooms to revoke the Policy Server's key without cooperation of the Policy
|
||||||
Server.
|
Server.
|
||||||
|
|
||||||
If the Policy Server is acting as a normal homeserver and attempting to send an
|
If the Policy Server is acting as a normal homeserver and attempting to send an
|
||||||
event, that event will require the a signature from the server's published signing
|
event, that event will require a signature from the server's published signing
|
||||||
key alongside the Policy Server signature described in this section.
|
key alongside the Policy Server signature described in this section.
|
||||||
{{% /boxes/warning %}}
|
{{% /boxes/warning %}}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ paths:
|
||||||
|
|
||||||
{{% boxes/note %}}
|
{{% boxes/note %}}
|
||||||
Like the [well-known discovery URI](/client-server-api/#well-known-uris),
|
Like the [well-known discovery URI](/client-server-api/#well-known-uris),
|
||||||
this endpoint should be accessed with the hostname of the homeserver's
|
this endpoint should be accessed with the hostname of the Policy Server's
|
||||||
[server name](/appendices/#server-name) by making a
|
[server name](/appendices/#server-name) by making a
|
||||||
GET request to `https://hostname/.well-known/matrix/policy_server`.
|
GET request to `https://hostname/.well-known/matrix/policy_server`.
|
||||||
{{% /boxes/note %}}
|
{{% /boxes/note %}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue