-
Notifications
You must be signed in to change notification settings - Fork 397
Clarify m.room.redaction, remove duplicate entry #2814
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
Conversation
Signed-off-by: Aaron Raimist <aaron@raim.ist>
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This is because the implementation is limited and not the spec. The authorization rules permit it happening in both v1 and v3 (where the redaction algorithms are defined). |
"Users can redact their own events" is also misleading, as it can be prevented through power levels. |
…that description Signed-off-by: Aaron Raimist <aaron@raim.ist>
Okay I think I have fixed that. Is it a Synapse bug that if you set the power level for |
that's not a bug - you still need the |
Oh I see. That's not confusing at all... I see how it provides flexibility on how you want the room to work but the difference between
and
does not seem to be described anywhere unless I'm missing something. |
it's badly described, but it is described.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only one comment left - thanks :D This is looking really great.
api/client-server/redaction.yaml
Outdated
Any user with a power level greater than or equal to the ``redact`` power level | ||
of the room may redact events there. Additionally, server administrators may | ||
redact messages sent by their server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this still needs to keep the parts about users being able to self-redact. Would also be good to give context to "there" as the reader has likely forgotten by the time they read this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I thought users may or may not be able to self-redact you mentioned a few days ago.
and yeah I can reword that. "may redact events there" is from the original sentence that's in the spec right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A user's ability to be able to self-redact is controlled solely by the events
object, not redacts
.
Signed-off-by: Aaron Raimist <aaron@raim.ist>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working through this :D
Fixes #2171
Fixes #2172
As far as I can tell server admins cannot redact events in rooms where they don't have the proper power level so I have removed mention of that.
I have also removed
which doesn't seem to be a thing that exists.