mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
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
4 lines
168 B
Handlebars
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}}
|