Attempt to differentiate between m.room.redaction event PL and redact PL
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
4414d44f34
commit
a82b657a0a
2 changed files with 12 additions and 8 deletions
|
@ -36,9 +36,12 @@ paths:
|
||||||
|
|
||||||
This cannot be undone.
|
This cannot be undone.
|
||||||
|
|
||||||
Any user with a power level greater than or equal to the ``redact`` power level
|
Any user with a power level greater than or equal to the ``m.room.redaction``
|
||||||
of the room may redact events there. Additionally, server administrators may
|
event power level may send redaction events in the room. If the user's power
|
||||||
redact messages sent by their server.
|
level greater is also greater than or equal to the ``redact`` power level
|
||||||
|
of the room, the user may redact events sent by other users.
|
||||||
|
|
||||||
|
Server administrators may redact events sent by users on their server.
|
||||||
operationId: redactEvent
|
operationId: redactEvent
|
||||||
security:
|
security:
|
||||||
- accessToken: []
|
- accessToken: []
|
||||||
|
|
|
@ -25,10 +25,11 @@ description: |-
|
||||||
``events_default`` are 0.
|
``events_default`` are 0.
|
||||||
|
|
||||||
The power level required to invite a user to the room, kick a user from the
|
The power level required to invite a user to the room, kick a user from the
|
||||||
room, ban a user from the room, or redact an event, is defined by ``invite``,
|
room, ban a user from the room, or redact an event sent by another user, is
|
||||||
``kick``, ``ban``, and ``redact``, respectively. Each of these levels defaults
|
defined by ``invite``, ``kick``, ``ban``, and ``redact``, respectively. Each
|
||||||
to 50 if they are not specified in the ``m.room.power_levels`` event, or if
|
of these levels defaults to 50 if they are not specified in the
|
||||||
the room contains no ``m.room.power_levels`` event.
|
``m.room.power_levels`` event, or if the room contains no ``m.room.power_levels``
|
||||||
|
event.
|
||||||
|
|
||||||
.. NOTE::
|
.. NOTE::
|
||||||
|
|
||||||
|
@ -65,7 +66,7 @@ properties:
|
||||||
description: The level required to kick a user. Defaults to 50 if unspecified.
|
description: The level required to kick a user. Defaults to 50 if unspecified.
|
||||||
type: integer
|
type: integer
|
||||||
redact:
|
redact:
|
||||||
description: The level required to redact an event. Defaults to 50 if unspecified.
|
description: The level required to redact an event sent by another user. Defaults to 50 if unspecified.
|
||||||
type: integer
|
type: integer
|
||||||
state_default:
|
state_default:
|
||||||
description: |-
|
description: |-
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue