mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
streams: Add creator field.
Adds nullable creator field, containing a reference to the user who created the stream. When creating a stream, acting user is set as the creator of the stream. Since API calls to create streams always have an acting user, this field should always be set when streams are created using the API. Because streams can be created with no acting user, this field is nullable. We try to backfill existing streams using RealmAuditLog table, but not all streams are guaranteed to have a recorded create log. Thus this new field is left null when it cannot be backfilled. We also set this field to null when the creator user is deleted.
This commit is contained in:
@@ -20,6 +20,15 @@ format used by the Zulip server that they are interacting with.
|
||||
|
||||
## Changes in Zulip 9.0
|
||||
|
||||
**Feature level 254**
|
||||
|
||||
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
||||
[`GET /streams`](/api/get-streams),
|
||||
[`GET /streams/{stream_id}`](/api/get-stream-by-id),
|
||||
[`GET /users/me/subscriptions`](/api/get-subscriptions): Added a new
|
||||
field `creator_id`, on stream and subscription objects, containing the
|
||||
user id of the stream creator.
|
||||
|
||||
**Feature level 253**
|
||||
|
||||
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults),
|
||||
|
||||
Reference in New Issue
Block a user