Clarify that restricted joins require the referenced user to be joined

pull/2220/head
Travis Ralston 2 months ago
parent 0a649cb0db
commit c24fe87163

@ -0,0 +1 @@
In room versions 8 through 12, clarify that "sufficient permission to invite users" on restricted joins also includes being a joined member of the room.

@ -74,7 +74,7 @@ The rules are as follows:
1. If membership state is `join` or `invite`, allow. 1. If membership state is `join` or `invite`, allow.
2. If the `join_authorised_via_users_server` key in `content` 2. If the `join_authorised_via_users_server` key in `content`
is not a user with sufficient permission to invite other is not a user with sufficient permission to invite other
users, reject. users or is not a joined member of the room, reject.
3. Otherwise, allow. 3. Otherwise, allow.
6. If the `join_rule` is `public`, allow. 6. If the `join_rule` is `public`, allow.
7. Otherwise, reject. 7. Otherwise, reject.

@ -150,7 +150,7 @@ The rules are as follows:
1. If membership state is `join` or `invite`, allow. 1. If membership state is `join` or `invite`, allow.
2. If the `join_authorised_via_users_server` key in `content` 2. If the `join_authorised_via_users_server` key in `content`
is not a user with sufficient permission to invite other is not a user with sufficient permission to invite other
users, reject. users or is not a joined member of the room, reject.
3. Otherwise, allow. 3. Otherwise, allow.
6. If the `join_rule` is `public`, allow. 6. If the `join_rule` is `public`, allow.
7. Otherwise, reject. 7. Otherwise, reject.

@ -157,7 +157,7 @@ The rules are as follows:
1. If membership state is `join` or `invite`, allow. 1. If membership state is `join` or `invite`, allow.
2. If the `join_authorised_via_users_server` key in `content` 2. If the `join_authorised_via_users_server` key in `content`
is not a user with sufficient permission to invite other is not a user with sufficient permission to invite other
users, reject. users or is not a joined member of the room, reject.
3. Otherwise, allow. 3. Otherwise, allow.
6. If the `join_rule` is `public`, allow. 6. If the `join_rule` is `public`, allow.
7. Otherwise, reject. 7. Otherwise, reject.

@ -141,7 +141,7 @@ The rules are as follows:
1. If membership state is `join` or `invite`, allow. 1. If membership state is `join` or `invite`, allow.
2. If the `join_authorised_via_users_server` key in `content` 2. If the `join_authorised_via_users_server` key in `content`
is not a user with sufficient permission to invite other is not a user with sufficient permission to invite other
users, reject. users or is not a joined member of the room, reject.
3. Otherwise, allow. 3. Otherwise, allow.
6. If the `join_rule` is `public`, allow. 6. If the `join_rule` is `public`, allow.
7. Otherwise, reject. 7. Otherwise, reject.

Loading…
Cancel
Save