mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
guests: Block guest user access to default streams.
Guest users will just get an empty list of default streams; we also hide the "Default streams" organization view from the guest users UI. This is for consistency with not providing guest users the full list of streams in an organization.
This commit is contained in:
@@ -111,6 +111,7 @@
|
||||
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% if not is_guest %}
|
||||
<li tabindex="0" data-section="default-streams-list">
|
||||
<i class="icon fa fa-exchange" aria-hidden="true"></i>
|
||||
<div class="text">{{ _('Default streams') }}</div>
|
||||
@@ -118,6 +119,7 @@
|
||||
<i class="locked fa fa-lock" title="{{ _('Only organization administrators can edit these settings.') }}"></i>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
<li tabindex="0" data-section="filter-settings">
|
||||
<i class="icon fa fa-font" aria-hidden="true"></i>
|
||||
<div class="text">{{ _('Linkifiers') }}</div>
|
||||
|
||||
Reference in New Issue
Block a user