stream_settings: Add can_delete_any_message_group setting.

Adds per-channel can_delete_any_message_group setting for
defining who can delete any message in the channel.
This commit is contained in:
Vector73
2025-07-16 14:45:24 +00:00
committed by Tim Abbott
parent be1876c01c
commit c4e641365b
23 changed files with 407 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
* [`GET /users/me/subscriptions`](/api/get-subscriptions),
[`GET /streams`](/api/get-streams), [`GET /events`](/api/get-events),
[`POST /register`](/api/register-queue): Added `can_delete_any_message_group`
field which is a [group-setting value](/api/group-setting-values) describing the
set of users with permissions to delete any message in the channel.
* [`POST /users/me/subscriptions`](/api/subscribe),
[`PATCH /streams/{stream_id}`](/api/update-stream): Added
`can_delete_any_message_group` parameter to support setting and
changing the user group whose members can delete any message in the specified
channel.