stream: Allow realm & channel admins to change private channel setting.

Previously, realm and channel admins were not able to change settings
for a private channel they were not subscribed to. This commit changes
that.

We have only added the exception for can_add_subscribers_group
and not privacy settings.

We also need proper functions with proper terminologies for content
and metadata access.
This commit is contained in:
Shubham Padia
2025-01-28 09:47:04 +00:00
committed by Tim Abbott
parent 4d02a082a0
commit ca1aba9fc3
6 changed files with 222 additions and 38 deletions

View File

@@ -29,6 +29,12 @@ format used by the Zulip server that they are interacting with.
administrators can now unsubscribe other users even if they are not
an organization administrator or part of
`can_remove_subscribers_group`.
* [`PATCH /streams/{stream_id}`](/api/update-stream),
[`DELETE /streams/{stream_id}`](/api/archive-stream): Channel and
organization administrators can modify all the settings requiring
only metadata access without having content access to it. They
cannot add subscribers to the channel or change it's privacy setting
without having content access to it.
**Feature level 348**