Files
zulip/web/templates/stream_settings/stream_settings_tip.hbs
Shubham Padia d82f595e51 stream: Disable permissions that require content access.
Disable privacy settings and can_add_subscriber_group when an admin does
not have content access to the channel.
We are going to add `can_subscriber_group` in the future which will also
require content access to change and that's why we have used
`stream_group_permission_settings_requiring_content_access` to keep the
list of such group settings.
We only show the warning banner now if the user cannot edit any of the
channel properties. For more details, see
https://chat.zulip.org/#narrow/channel/101-design/topic/Warning.20for.20settings.20that.20cannot.20be.20changed.2E
2025-02-11 15:09:16 -08:00

4 lines
168 B
Handlebars

{{#unless can_change_stream_permissions_requiring_metadata_access}}
<div class="tip">{{t "Only channel administrators can edit these settings."}}</div>
{{/unless}}