stream_settings: Add can_delete_own_message_group setting.

Adds per-channel `can_delete_own_message_group` setting for
defining who can delete their own message in the channel.
This commit is contained in:
Vector73
2025-07-16 14:45:53 +00:00
committed by Tim Abbott
parent c4e641365b
commit 97a43fa6b6
23 changed files with 357 additions and 9 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_own_message_group`
field which is a [group-setting value](/api/group-setting-values) describing the
set of users with permissions to delete the messages they have sent in the channel.
* [`POST /users/me/subscriptions`](/api/subscribe),
[`PATCH /streams/{stream_id}`](/api/update-stream): Added
`can_delete_own_message_group` parameter to support setting and
changing the user group whose members can delete the messages they have sent
in the channel.