users: Send stream creation/deletion events on role change.

We now send stream creation and stream deletion events on
changing a user's role because a user can gain or lose
access to some streams on changing their role.
This commit is contained in:
Sahil Batra
2023-07-06 12:08:12 +05:30
committed by Tim Abbott
parent 5e3c39ea4f
commit ada2991f1c
7 changed files with 157 additions and 31 deletions

View File

@@ -24,6 +24,9 @@ format used by the Zulip server that they are interacting with.
* [`POST /register`](/api/register-queue): `streams` field in the response
now included web-public streams as well.
* [`GET /events`](/api/get-events): Events for stream creation and deletion
are now sent to the user if they gain or lose access to some streams due
to change in their role.
**Feature level 204**