Even more links.

This commit is contained in:
Patrick Cloke 2023-08-08 16:09:31 -04:00
parent 9bf3b9cf6a
commit 042fd84277
4 changed files with 44 additions and 31 deletions

View file

@ -21,10 +21,12 @@ not in the following list:
The content object must also be stripped of all keys, unless it is one The content object must also be stripped of all keys, unless it is one
of the following event types: of the following event types:
- `m.room.member` allows key `membership`. - [`m.room.member`](/client-server-api#mroommember) allows key `membership`.
- `m.room.create` allows key `creator`. - [`m.room.create`](/client-server-api#mroomcreate) allows key `creator`.
- `m.room.join_rules` allows key `join_rule`. - [`m.room.join_rules`](/client-server-api#mroomjoin_rules) allows key `join_rule`.
- `m.room.power_levels` allows keys `ban`, `events`, `events_default`, - [`m.room.power_levels`](/client-server-api#mroompower_levels) allows keys
`kick`, `redact`, `state_default`, `users`, `users_default`. `ban`, `events`, `events_default`, `kick`, `redact`, `state_default`, `users`,
- `m.room.aliases` allows key `aliases`. `users_default`.
- `m.room.history_visibility` allows key `history_visibility`. - [`m.room.aliases`](/client-server-api#historical-events) allows key `aliases`.
- [`m.room.history_visibility`](/client-server-api#mroomhistory_visibility) allows
key `history_visibility`.

View file

@ -2,9 +2,11 @@
--- ---
{{% added-in this=true %}} The top-level `origin`, `membership`, and `prev_state` properties {{% added-in this=true %}} The top-level `origin`, `membership`, and `prev_state` properties
are no longer protected from redaction. The `m.room.create` event now keeps the entire `content` property. The `m.room.redaction` event keeps the are no longer protected from redaction. The [`m.room.create`](/client-server-api#mroomcreate)
`redacts` property under `content`. The `m.room.power_levels` event keeps the `invite` property event now keeps the entire `content` property. The [`m.room.redaction`](/client-server-api#mroomredaction)
under `content`. event keeps the `redacts` property under `content`. The
[`m.room.power_levels`](/client-server-api#mroompower_levels) event keeps the
`invite` property under `content`.
The full redaction algorithm follows. The full redaction algorithm follows.
@ -27,11 +29,13 @@ not in the following list:
The content object must also be stripped of all keys, unless it is one The content object must also be stripped of all keys, unless it is one
of the following event types: of the following event types:
- `m.room.member` allows keys `membership`, `join_authorised_via_users_server`. - [`m.room.member`](/client-server-api#mroommember) allows keys `membership`, `join_authorised_via_users_server`.
Additionally, it allows the `signed` key of the `third_party_invite` key. Additionally, it allows the `signed` key of the `third_party_invite` key.
- `m.room.create` allows all keys. - [`m.room.create`](/client-server-api#mroomcreate) allows all keys.
- `m.room.join_rules` allows keys `join_rule`, `allow`. - [`m.room.join_rules`](/client-server-api#mroomjoin_rules) allows keys `join_rule`, `allow`.
- `m.room.power_levels` allows keys `ban`, `events`, `events_default`, - [`m.room.power_levels`](/client-server-api#mroompower_levels) allows keys
`invite`, `kick`, `redact`, `state_default`, `users`, `users_default`. `ban`, `events`, `events_default`, `invite`, `kick`, `redact`, `state_default`,
- `m.room.history_visibility` allows key `history_visibility`. `users`, `users_default`.
- `m.room.redaction` allows key `redacts`. - [`m.room.history_visibility`](/client-server-api#mroomhistory_visibility)
allows key `history_visibility`.
- [`m.room.redaction`](/client-server-api#mroomredaction) allows key `redacts`.

View file

@ -21,9 +21,11 @@ not in the following list:
The content object must also be stripped of all keys, unless it is one The content object must also be stripped of all keys, unless it is one
of the following event types: of the following event types:
- `m.room.member` allows key `membership`. - [`m.room.member`](/client-server-api#mroommember) allows key `membership`.
- `m.room.create` allows key `creator`. - [`m.room.create`](/client-server-api#mroomcreate) allows key `creator`.
- `m.room.join_rules` allows key `join_rule`. - [`m.room.join_rules`](/client-server-api#mroomjoin_rules) allows key `join_rule`.
- `m.room.power_levels` allows keys `ban`, `events`, `events_default`, - [`m.room.power_levels`](/client-server-api#mroompower_levels) allows keys
`kick`, `redact`, `state_default`, `users`, `users_default`. `ban`, `events`, `events_default`, `kick`, `redact`, `state_default`, `users`,
- `m.room.history_visibility` allows key `history_visibility`. `users_default`.
- [`m.room.history_visibility`](/client-server-api#mroomhistory_visibility) allows
key `history_visibility`.

View file

@ -1,8 +1,9 @@
--- ---
--- ---
{{% added-in this=true %}} `m.room.member` events now keep `join_authorised_via_users_server` {{% added-in this=true %}} [`m.room.member`](/client-server-api#mroommember) events
in addition to other keys in `content` when being redacted. now keep `join_authorised_via_users_server` in addition to other keys in `content`
when being redacted.
{{% boxes/rationale %}} {{% boxes/rationale %}}
Without the `join_authorised_via_users_server` property, redacted join events Without the `join_authorised_via_users_server` property, redacted join events
@ -42,9 +43,13 @@ not in the following list:
The content object must also be stripped of all keys, unless it is one The content object must also be stripped of all keys, unless it is one
of the following event types: of the following event types:
- `m.room.member` allows keys `membership`, `join_authorised_via_users_server`. - [`m.room.member`](/client-server-api#mroommember) allows keys `membership`,
- `m.room.create` allows key `creator`. `join_authorised_via_users_server`.
- `m.room.join_rules` allows keys `join_rule`, `allow`. - [`m.room.create`](/client-server-api#mroomcreate) allows key `creator`.
- `m.room.power_levels` allows keys `ban`, `events`, `events_default`, - [`m.room.join_rules`](/client-server-api#mroomjoin_rules) allows keys `join_rule`,
`kick`, `redact`, `state_default`, `users`, `users_default`. `allow`.
- `m.room.history_visibility` allows key `history_visibility`. - [`m.room.power_levels`](/client-server-api#mroompower_levels) allows keys
`ban`, `events`, `events_default`, `kick`, `redact`, `state_default`, `users`,
`users_default`.
- [`m.room.history_visibility`](/client-server-api#mroomhistory_visibility)
allows key `history_visibility`.