From 29e70360436c078db932d013863ece5c8fa1d65b Mon Sep 17 00:00:00 2001 From: David Robertson Date: Tue, 10 May 2022 20:31:19 +0100 Subject: [PATCH] Auth rules: PDU content definitions cross-refs (#1050) * Auth rules: PDU content definitions cross-refs * Changelog * Apparently v6 & v7 auth rules aren't in fragments --- .../room_versions/newsfragments/1050.clarification | 1 + content/rooms/fragments/v1-auth-rules.md | 10 +++++----- content/rooms/fragments/v3-auth-rules.md | 10 +++++----- content/rooms/fragments/v8-auth-rules.md | 10 +++++----- content/rooms/v6.md | 10 +++++----- content/rooms/v7.md | 10 +++++----- 6 files changed, 26 insertions(+), 25 deletions(-) create mode 100644 changelogs/room_versions/newsfragments/1050.clarification diff --git a/changelogs/room_versions/newsfragments/1050.clarification b/changelogs/room_versions/newsfragments/1050.clarification new file mode 100644 index 00000000..0da1098a --- /dev/null +++ b/changelogs/room_versions/newsfragments/1050.clarification @@ -0,0 +1 @@ +Add cross-references to PDU content definitions from the authorisation rules. diff --git a/content/rooms/fragments/v1-auth-rules.md b/content/rooms/fragments/v1-auth-rules.md index d7c4dace..e2429313 100644 --- a/content/rooms/fragments/v1-auth-rules.md +++ b/content/rooms/fragments/v1-auth-rules.md @@ -4,11 +4,11 @@ toc_hide: true The types of state events that affect authorization are: -- `m.room.create` -- `m.room.member` -- `m.room.join_rules` -- `m.room.power_levels` -- `m.room.third_party_invite` +- [`m.room.create`](/client-server-api#mroomcreate) +- [`m.room.member`](/client-server-api#mroommember) +- [`m.room.join_rules`](/client-server-api#mroom) +- [`m.room.power_levels`](/client-server-api#mroompower_levels) +- [`m.room.third_party_invite`](/client-server-api#mroomthird_party_invite) {{% boxes/note %}} Power levels are inferred from defaults when not explicitly supplied. diff --git a/content/rooms/fragments/v3-auth-rules.md b/content/rooms/fragments/v3-auth-rules.md index 1a6ae490..8e902602 100644 --- a/content/rooms/fragments/v3-auth-rules.md +++ b/content/rooms/fragments/v3-auth-rules.md @@ -11,11 +11,11 @@ however. The types of state events that affect authorization are: -- `m.room.create` -- `m.room.member` -- `m.room.join_rules` -- `m.room.power_levels` -- `m.room.third_party_invite` +- [`m.room.create`](/client-server-api#mroomcreate) +- [`m.room.member`](/client-server-api#mroommember) +- [`m.room.join_rules`](/client-server-api#mroom) +- [`m.room.power_levels`](/client-server-api#mroompower_levels) +- [`m.room.third_party_invite`](/client-server-api#mroomthird_party_invite) {{% boxes/note %}} Power levels are inferred from defaults when not explicitly supplied. diff --git a/content/rooms/fragments/v8-auth-rules.md b/content/rooms/fragments/v8-auth-rules.md index 4b14762d..3583df41 100644 --- a/content/rooms/fragments/v8-auth-rules.md +++ b/content/rooms/fragments/v8-auth-rules.md @@ -12,11 +12,11 @@ of receipt, they are authorized at a later stage: see the The types of state events that affect authorization are: -- `m.room.create` -- `m.room.member` -- `m.room.join_rules` -- `m.room.power_levels` -- `m.room.third_party_invite` +- [`m.room.create`](/client-server-api#mroomcreate) +- [`m.room.member`](/client-server-api#mroommember) +- [`m.room.join_rules`](/client-server-api#mroom) +- [`m.room.power_levels`](/client-server-api#mroompower_levels) +- [`m.room.third_party_invite`](/client-server-api#mroomthird_party_invite) {{% boxes/note %}} Power levels are inferred from defaults when not explicitly supplied. diff --git a/content/rooms/v6.md b/content/rooms/v6.md index 67131371..cb87082c 100644 --- a/content/rooms/v6.md +++ b/content/rooms/v6.md @@ -59,11 +59,11 @@ Events must be signed by the server denoted by the `sender` key. The types of state events that affect authorization are: -- `m.room.create` -- `m.room.member` -- `m.room.join_rules` -- `m.room.power_levels` -- `m.room.third_party_invite` +- [`m.room.create`](/client-server-api#mroomcreate) +- [`m.room.member`](/client-server-api#mroommember) +- [`m.room.join_rules`](/client-server-api#mroom) +- [`m.room.power_levels`](/client-server-api#mroompower_levels) +- [`m.room.third_party_invite`](/client-server-api#mroomthird_party_invite) {{% boxes/note %}} Power levels are inferred from defaults when not explicitly supplied. diff --git a/content/rooms/v7.md b/content/rooms/v7.md index 07e09238..2ada06f7 100644 --- a/content/rooms/v7.md +++ b/content/rooms/v7.md @@ -45,11 +45,11 @@ of receipt, they are authorized at a later stage: see the The types of state events that affect authorization are: -- `m.room.create` -- `m.room.member` -- `m.room.join_rules` -- `m.room.power_levels` -- `m.room.third_party_invite` +- [`m.room.create`](/client-server-api#mroomcreate) +- [`m.room.member`](/client-server-api#mroommember) +- [`m.room.join_rules`](/client-server-api#mroom) +- [`m.room.power_levels`](/client-server-api#mroompower_levels) +- [`m.room.third_party_invite`](/client-server-api#mroomthird_party_invite) {{% boxes/note %}} Power levels are inferred from defaults when not explicitly supplied.