Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that redaction events are subject to auth rules #1824

Merged
merged 6 commits into from
May 29, 2024

Conversation

Kladki
Copy link
Contributor

@Kladki Kladki commented May 18, 2024

Context: there was a misunderstanding about how redactions interact with auth rules.

Signed-off-by: Matthias Ahouansou matthias@ahouansou.cz

Preview: https://pr1824--matrix-spec-previews.netlify.app

@Kladki Kladki requested a review from a team as a code owner May 18, 2024 14:09
@richvdh
Copy link
Member

richvdh commented May 28, 2024

Context: there was a misunderstanding about how redactions interact with auth rules.

It might be helpful to summarise what the misunderstanding was, for future reference. The discussion in the room is rather verbose.

@richvdh
Copy link
Member

richvdh commented May 28, 2024

... though having read the diff I think I can guess what the misunderstanding was.

@Kladki
Copy link
Contributor Author

Kladki commented May 28, 2024 via email

@richvdh
Copy link
Member

richvdh commented May 28, 2024

For reference, the affected part of the spec is https://spec.matrix.org/v1.10/rooms/v3/#authorization-rules, and similar in subsequent room versions.

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. I think it helps, but I think it could be clearer.

Also, please add a sign-off to the PR, per https://github.com/matrix-org/matrix-spec/blob/main/CONTRIBUTING.rst#sign-off

content/rooms/v6.md Outdated Show resolved Hide resolved
Signed-off-by: Matthias Ahouansou <matthias@ahouansou.cz>
@richvdh
Copy link
Member

richvdh commented May 28, 2024

Can you add the sign-off to the PR description, please? Otherwise we don't have sign-off for your first commit

@Kladki Kladki requested a review from richvdh May 28, 2024 17:03
@Kladki
Copy link
Contributor Author

Kladki commented May 28, 2024 via email

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, a couple more things it would be nice to fix while you're here.

content/rooms/v7.md Outdated Show resolved Hide resolved
content/rooms/fragments/v8-auth-rules.md Outdated Show resolved Hide resolved
@Kladki Kladki requested a review from richvdh May 29, 2024 08:14
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much!

@@ -99,7 +99,7 @@ level_ is **not** considered by the auth rules.

The ability to send a redaction event does not mean that the redaction itself should
be performed. Receiving servers must perform additional checks, as described in
the [Redactions](#redactions) section below.
the [Handling redactions](#handling-redactions) section.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is below in v10, but ... 🤷‍♂️

@richvdh richvdh merged commit 49765e0 into matrix-org:main May 29, 2024
12 checks passed
@Kladki Kladki deleted the clarify-redaction-auth-rules branch May 29, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants