Apply ACLs per room ID for m.receipt EDUs

pull/2004/head
Johannes Marbach 3 days ago
parent f5bb734f73
commit 276fa602c8

@ -1247,18 +1247,18 @@ The following endpoint prefixes MUST be protected:
Additionally the [`/_matrix/federation/v1/send/{txnId}`](#put_matrixfederationv1sendtxnid) Additionally the [`/_matrix/federation/v1/send/{txnId}`](#put_matrixfederationv1sendtxnid)
endpoint MUST be protected as follows: endpoint MUST be protected as follows:
- ACLs MUST be applied on a per-PDU basis. If the `origin` server is - ACLs MUST be applied to all PDUs on a per-PDU basis. If the `origin`
denied access to the room identified by `room_id`, the PDU MUST be server is denied access to the room identified by `room_id`, the PDU
ignored with an appropriate error included in the response for the MUST be ignored with an appropriate error included in the response
respective event ID. for the respective event ID.
- ACLs MUST be applied on a per-EDU basis to all EDUs that are local - ACLs MUST be applied to all EDUs that are local to a specific room:
to a specific room. This includes:
- For [typing notifications (m.typing)](#typing-notifications), if
- [Typing notifications (m.typing)](#typing-notifications) the `origin` server is denied access to the room identified by
- [Receipts (m.receipt)](#receipts) `room_id`, the EDU MUST be ignored.
- For [receipts (m.receipt)](#receipts), all receipts for a particular
If the `origin` server is denied access to the room identified by room ID MUST be ignored if the `origin` server is denied access to
`room_id`, the EDU MUST be ignored. the room identified by that ID.
## Signing Events ## Signing Events

Loading…
Cancel
Save