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

@@ -20486,12 +20486,16 @@ paths:
Administrators can always administer a channel.
Note that a user must also [have access](/help/channel-permissions) to a
channel in order to modify it. The exception to this rule is that
organization administrators can edit channel names and descriptions
without having full access to the channel.
Note that a user must [have access](/help/channel-permissions) to a
channel in order to add other subscribers to the channel.
**Changes**: New in Zulip 10.0 (feature level 325). Prior to this
**Changes**: Prior to Zulip 10.0 (feature level 349) a user needed to
[have content access](/help/channel-permissions) to a channel in order
to modify it. The exception to this rule was that organization
administrators can edit channel names and descriptions without having
full access to the channel.
New in Zulip 10.0 (feature level 325). Prior to this
change, the permission to administer channels was limited to realm
administrators.
example:
@@ -25195,16 +25199,16 @@ components:
Administrators can always administer a channel.
Note that a user must also [have access](/help/channel-permissions) to a
channel in order to modify it.
Note that a user must [have access](/help/channel-permissions) to a
channel in order to add other subscribers to the channel.
Users can edit channel name and description without subscribing to the
channel, but they need to be subscribed to edit channel permissions and
add users. The exception to this rule is that organization administrators
can edit channel names and descriptions without having full access to
the channel.
**Changes**: Prior to Zulip 10.0 (feature level 349) a user needed to
[have content access](/help/channel-permissions) to a channel in
order to modify it. The exception to this rule was that organization
administrators can edit channel names and descriptions without
having full access to the channel.
**Changes**: New in Zulip 10.0 (feature level 325). Prior to this
New in Zulip 10.0 (feature level 325). Prior to this
change, the permission to administer channels was limited to realm
administrators.