From bfa0dfe6008cc65c4e5bf5cdf9c8d8505d42e219 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Tue, 15 Jun 2021 13:29:13 -0400 Subject: [PATCH] Clarify auth rules for restrictedjoin rules. --- proposals/3083-restricted-rooms.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proposals/3083-restricted-rooms.md b/proposals/3083-restricted-rooms.md index b36371403..d3b0e4a0a 100644 --- a/proposals/3083-restricted-rooms.md +++ b/proposals/3083-restricted-rooms.md @@ -51,6 +51,10 @@ Any entries in the list which do not match the expected format are ignored. Thus if all entries are invalid, the list behaves as if empty and all users without an invite are rejected. +From the perspective of hee [auth rules](https://spec.matrix.org/unstable/rooms/v1/#authorization-rules), +the `restricted` join rule has the same behavior as `public`. Additional checks +against the `allow` rules are performed during event generation, as described below. + When a homeserver receives a `/join` request from a client or a `/make_join` / `/send_join` request from a server, the request should only be permitted if the user has a valid invite or is in one of the listed rooms.