Fix authenticity/authorization terminology

Co-authored-by: Kitsune Ral <Kitsune-Ral@users.sf.net>
Signed-off-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
Tulir Asokan 2019-08-25 11:29:12 +03:00
parent 984e0af7b2
commit cd75d0f220

View file

@ -46,12 +46,12 @@ redaction event.
#### Handle each target separately #### Handle each target separately
The target events of an `m.room.redaction` shall no longer be considered when The target events of an `m.room.redaction` shall no longer be considered when
deciding the authenticity of an `m.room.redaction` event. Any other existing authorizing of an `m.room.redaction` event. Any other existing rules remain
rules remain unchanged. unchanged.
When a server accepts an `m.room.redaction` using the modified auth rules, it When a server accepts an `m.room.redaction` using the modified auth rules, it
evaluates targets individually for authenticity under the existing auth rules. evaluates individually whether each target can be redacted under the existing
Servers MUST NOT include failing and unknown entries to clients. auth rules. Servers MUST NOT include failing and unknown entries to clients.
> Servers do not know whether redaction targets are authorized at the time they > Servers do not know whether redaction targets are authorized at the time they
receive the `m.room.redaction` unless they are in possession of the target receive the `m.room.redaction` unless they are in possession of the target
@ -63,7 +63,7 @@ When the implementation receives a belated target from an earlier
authorized. authorized.
> Servers should not send belated target events to clients if their redaction > Servers should not send belated target events to clients if their redaction
was found to be authentic, as clients were not made aware of the redaction. was found to be in effect, as clients were not made aware of the redaction.
That fact is also used to simply ignore unauthorized targets and send the That fact is also used to simply ignore unauthorized targets and send the
events to clients normally. events to clients normally.