2017-05-18 14:06:57 +02:00
|
|
|
|
<div id="organization-permissions" data-name="organization-permissions" class="settings-section">
|
2017-05-25 00:50:07 +02:00
|
|
|
|
<form class="form-horizontal admin-realm-form org-permissions-form">
|
2017-05-18 14:06:57 +02:00
|
|
|
|
|
2018-03-20 23:18:34 +01:00
|
|
|
|
<div id="org-org-join" class="org-subsection-parent">
|
|
|
|
|
<div class="subsection-header">
|
|
|
|
|
<h3>{{t "Joining the organization" }}</h3>
|
2019-07-11 04:05:28 +02:00
|
|
|
|
{{> settings_save_discard_widget section_name="org-join" }}
|
2017-05-18 14:06:57 +02:00
|
|
|
|
</div>
|
2018-04-05 00:54:31 +02:00
|
|
|
|
<div class="m-10 inline-block organization-permissions-parent">
|
|
|
|
|
<div class="input-group">
|
2022-09-13 09:19:08 +02:00
|
|
|
|
{{> settings_checkbox
|
|
|
|
|
setting_name="realm_invite_required"
|
|
|
|
|
prefix="id_"
|
|
|
|
|
is_checked=realm_invite_required
|
|
|
|
|
label=admin_settings_label.realm_invite_required}}
|
2021-07-19 11:47:42 +02:00
|
|
|
|
<label for="realm_invite_to_realm_policy" class="dropdown-title">{{t "Who can invite users to this organization" }}
|
|
|
|
|
<i class="fa fa-info-circle settings-info-icon realm_message_retention_tooltip tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Only owners can change this setting.' }}"></i>
|
|
|
|
|
</label>
|
2021-05-23 21:40:20 +02:00
|
|
|
|
<select name="realm_invite_to_realm_policy" id="id_realm_invite_to_realm_policy" class="prop-element" data-setting-widget-type="number">
|
2021-07-18 18:18:28 +02:00
|
|
|
|
{{> dropdown_options_widget option_values=invite_to_realm_policy_values}}
|
2018-04-30 18:26:59 +02:00
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="input-group">
|
2018-05-02 20:03:52 +02:00
|
|
|
|
<label for="realm_org_join_restrictions" class="dropdown-title">{{t "Restrict email domains of new users?" }}</label>
|
2019-04-04 16:36:12 +02:00
|
|
|
|
<select name="realm_org_join_restrictions" id="id_realm_org_join_restrictions" class="prop-element">
|
2018-04-05 00:54:31 +02:00
|
|
|
|
<option value="no_restriction">{{t "No restrictions" }}</option>
|
|
|
|
|
<option value="no_disposable_email">{{t "Don’t allow disposable email addresses" }}</option>
|
|
|
|
|
<option value="only_selected_domain">{{t "Restrict to a list of domains" }}</option>
|
|
|
|
|
</select>
|
2022-08-31 20:16:01 +02:00
|
|
|
|
<div class="dependent-block">
|
|
|
|
|
<p id="allowed_domains_label" class="inline-block"></p>
|
|
|
|
|
{{#if is_admin }}
|
|
|
|
|
<a id="show_realm_domains_modal" role="button">{{t "[Configure]" }}</a>
|
|
|
|
|
{{/if}}
|
|
|
|
|
</div>
|
2018-03-20 23:18:34 +01:00
|
|
|
|
</div>
|
2020-03-23 21:51:27 +01:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_waiting_period_setting" class="dropdown-title">
|
|
|
|
|
{{t "Waiting period before new members turn into full members" }}
|
2020-05-15 20:43:31 +02:00
|
|
|
|
{{> ../help_link_widget link="/help/restrict-permissions-of-new-members" }}
|
2020-03-23 21:51:27 +01:00
|
|
|
|
</label>
|
|
|
|
|
<select name="realm_waiting_period_setting" id="id_realm_waiting_period_setting" class="prop-element">
|
|
|
|
|
<option value="none">{{t "None" }}</option>
|
|
|
|
|
<option value="three_days">{{t "3 days" }}</option>
|
|
|
|
|
<option value="custom_days">{{t "Custom" }}</option>
|
|
|
|
|
</select>
|
2022-08-31 20:16:01 +02:00
|
|
|
|
{{!-- This setting is hidden unless `custom_days` --}}
|
|
|
|
|
<div class="dependent-block">
|
|
|
|
|
<label for="id_realm_waiting_period_threshold" class="inline-block">{{t "Waiting period (days)" }}:</label>
|
|
|
|
|
<input type="text" id="id_realm_waiting_period_threshold"
|
|
|
|
|
name="realm_waiting_period_threshold"
|
|
|
|
|
class="admin-realm-time-limit-input prop-element"
|
|
|
|
|
value="{{ realm_waiting_period_threshold }}"/>
|
|
|
|
|
</div>
|
2020-03-23 21:51:27 +01:00
|
|
|
|
</div>
|
2017-05-18 14:06:57 +02:00
|
|
|
|
</div>
|
2017-07-12 23:32:14 +02:00
|
|
|
|
</div>
|
2017-05-18 14:06:57 +02:00
|
|
|
|
|
2018-03-20 23:18:34 +01:00
|
|
|
|
<div id="org-user-identity" class="org-subsection-parent">
|
|
|
|
|
<div class="subsection-header">
|
|
|
|
|
<h3>{{t "User identity" }}</h3>
|
2019-07-11 04:05:28 +02:00
|
|
|
|
{{> settings_save_discard_widget section_name="user-identity" }}
|
2017-05-18 14:06:57 +02:00
|
|
|
|
</div>
|
2018-03-20 23:18:34 +01:00
|
|
|
|
<div class="inline-block organization-permissions-parent">
|
2019-07-11 04:05:28 +02:00
|
|
|
|
{{> settings_checkbox
|
|
|
|
|
setting_name="realm_name_changes_disabled"
|
|
|
|
|
prefix="id_"
|
|
|
|
|
is_checked=realm_name_changes_disabled
|
|
|
|
|
label=admin_settings_label.realm_name_changes_disabled}}
|
2017-05-18 14:06:57 +02:00
|
|
|
|
|
2019-07-11 04:05:28 +02:00
|
|
|
|
{{> settings_checkbox
|
|
|
|
|
setting_name="realm_email_changes_disabled"
|
|
|
|
|
prefix="id_"
|
|
|
|
|
is_checked=realm_email_changes_disabled
|
|
|
|
|
label=admin_settings_label.realm_email_changes_disabled}}
|
2019-04-23 04:51:04 +02:00
|
|
|
|
|
2019-07-11 04:05:28 +02:00
|
|
|
|
{{> settings_checkbox
|
|
|
|
|
setting_name="realm_avatar_changes_disabled"
|
|
|
|
|
prefix="id_"
|
|
|
|
|
is_checked=realm_avatar_changes_disabled
|
|
|
|
|
label=admin_settings_label.realm_avatar_changes_disabled}}
|
2017-05-18 14:06:57 +02:00
|
|
|
|
</div>
|
2020-03-23 21:51:27 +01:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_email_address_visibility">{{t "Who can access user email addresses" }}
|
2020-05-15 20:43:31 +02:00
|
|
|
|
{{> ../help_link_widget link="/help/restrict-visibility-of-email-addresses" }}
|
2020-03-23 21:51:27 +01:00
|
|
|
|
</label>
|
2020-05-07 11:20:22 +02:00
|
|
|
|
<select name="realm_email_address_visibility" class="setting-widget prop-element" id="id_realm_email_address_visibility" data-setting-widget-type="number">
|
2020-03-23 21:51:27 +01:00
|
|
|
|
{{> dropdown_options_widget option_values=email_address_visibility_values}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2017-07-12 23:32:14 +02:00
|
|
|
|
</div>
|
2017-05-18 14:06:57 +02:00
|
|
|
|
|
2020-03-23 21:51:27 +01:00
|
|
|
|
<div id="org-stream-permissions" class="org-subsection-parent">
|
2018-03-20 23:18:34 +01:00
|
|
|
|
<div class="subsection-header">
|
2020-03-23 21:51:27 +01:00
|
|
|
|
<h3>{{t "Stream permissions" }}</h3>
|
|
|
|
|
{{> settings_save_discard_widget section_name="stream-permissions" }}
|
2017-08-18 01:23:55 +02:00
|
|
|
|
</div>
|
2018-03-20 23:18:34 +01:00
|
|
|
|
<div class="m-10 inline-block organization-permissions-parent">
|
2019-05-07 19:06:05 +02:00
|
|
|
|
<div class="input-group">
|
2021-03-27 05:48:37 +01:00
|
|
|
|
<label for="realm_create_public_stream_policy" class="dropdown-title">{{t "Who can create public streams" }}</label>
|
|
|
|
|
<select name="realm_create_public_stream_policy" id="id_realm_create_public_stream_policy" class="prop-element" data-setting-widget-type="number">
|
|
|
|
|
{{> dropdown_options_widget option_values=common_policy_values}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2022-05-26 11:43:42 +02:00
|
|
|
|
{{> upgrade_tip_widget }}
|
2021-10-03 14:16:07 +02:00
|
|
|
|
{{> settings_checkbox
|
|
|
|
|
setting_name="realm_enable_spectator_access"
|
|
|
|
|
prefix="id_"
|
|
|
|
|
is_checked=realm_enable_spectator_access
|
2021-12-02 19:18:32 +01:00
|
|
|
|
label=admin_settings_label.realm_enable_spectator_access
|
|
|
|
|
is_disabled=disable_enable_spectator_access_setting
|
2022-05-04 20:18:08 +02:00
|
|
|
|
help_link="/help/public-access-option"}}
|
2021-11-19 10:29:39 +01:00
|
|
|
|
<div class="input-group realm_create_web_public_stream_policy">
|
|
|
|
|
<label for="realm_create_web_public_stream_policy" class="dropdown-title">{{t "Who can create web-public streams" }}</label>
|
|
|
|
|
<select name="realm_create_web_public_stream_policy" id="id_realm_create_web_public_stream_policy" class="prop-element" data-setting-widget-type="number">
|
|
|
|
|
{{> dropdown_options_widget option_values=create_web_public_stream_policy_values}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2021-03-27 05:48:37 +01:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_create_private_stream_policy" class="dropdown-title">{{t "Who can create private streams" }}</label>
|
|
|
|
|
<select name="realm_create_private_stream_policy" id="id_realm_create_private_stream_policy" class="prop-element" data-setting-widget-type="number">
|
2021-04-28 20:39:24 +02:00
|
|
|
|
{{> dropdown_options_widget option_values=common_policy_values}}
|
2019-05-07 19:06:05 +02:00
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2019-04-08 19:23:00 +02:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_invite_to_stream_policy" class="dropdown-title">{{t "Who can add users to streams" }}</label>
|
2020-05-07 11:20:22 +02:00
|
|
|
|
<select name="realm_invite_to_stream_policy" id="id_realm_invite_to_stream_policy" class="prop-element" data-setting-widget-type="number">
|
2021-04-28 20:39:24 +02:00
|
|
|
|
{{> dropdown_options_widget option_values=common_policy_values}}
|
2019-04-08 19:23:00 +02:00
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2020-09-11 16:11:06 +02:00
|
|
|
|
<div class="input-group">
|
2021-11-12 20:33:35 +01:00
|
|
|
|
<label for="realm_wildcard_mention_policy" class="dropdown-title">{{t "Who can use @all/@everyone mentions in large streams" }}
|
|
|
|
|
{{> ../help_link_widget link="/help/restrict-wildcard-mentions" }}
|
|
|
|
|
</label>
|
2020-09-11 16:11:06 +02:00
|
|
|
|
<select name="realm_wildcard_mention_policy" id="id_realm_wildcard_mention_policy" class="prop-element" data-setting-widget-type="number">
|
|
|
|
|
{{> dropdown_options_widget option_values=wildcard_mention_policy_values}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2020-03-23 21:51:27 +01:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2019-04-08 19:23:00 +02:00
|
|
|
|
|
2021-05-25 21:24:12 +02:00
|
|
|
|
<div id="org-msg-editing" class="org-subsection-parent">
|
|
|
|
|
<div class="subsection-header">
|
2022-04-11 12:30:25 +02:00
|
|
|
|
<h3>{{t "Message and topic editing" }}
|
2021-05-25 21:24:12 +02:00
|
|
|
|
{{> ../help_link_widget link="/help/configure-message-editing-and-deletion" }}
|
|
|
|
|
</h3>
|
|
|
|
|
{{> settings_save_discard_widget section_name="msg-editing" }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inline-block organization-settings-parent">
|
2022-04-12 09:56:58 +02:00
|
|
|
|
{{> settings_checkbox
|
|
|
|
|
setting_name="realm_allow_message_editing"
|
|
|
|
|
prefix="id_"
|
|
|
|
|
is_checked=realm_allow_message_editing
|
|
|
|
|
label=admin_settings_label.realm_allow_message_editing}}
|
|
|
|
|
|
2021-05-25 21:24:12 +02:00
|
|
|
|
<div class="input-group">
|
2022-04-12 09:56:58 +02:00
|
|
|
|
<label for="realm_msg_edit_limit_setting" class="dropdown-title">{{t "Time limit for editing messages" }}</label>
|
|
|
|
|
<select name="realm_msg_edit_limit_setting" id="id_realm_msg_edit_limit_setting" class="prop-element" {{#unless realm_allow_message_editing}}disabled{{/unless}}>
|
2021-05-25 21:24:12 +02:00
|
|
|
|
{{#each msg_edit_limit_dropdown_values}}
|
2021-12-04 15:39:38 +01:00
|
|
|
|
<option value="{{0}}">{{1.text}}</option>
|
2021-05-25 21:24:12 +02:00
|
|
|
|
{{/each}}
|
|
|
|
|
</select>
|
2022-08-31 20:16:01 +02:00
|
|
|
|
<div class="dependent-block">
|
|
|
|
|
<label for="id_realm_message_content_edit_limit_minutes" class="inline-block realm-time-limit-label">
|
|
|
|
|
{{t 'Duration editing is allowed after posting (minutes)'}}:
|
|
|
|
|
</label>
|
|
|
|
|
<input type="text" id="id_realm_message_content_edit_limit_minutes"
|
|
|
|
|
name="realm_message_content_edit_limit_minutes"
|
|
|
|
|
class="admin-realm-time-limit-input prop-element"
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
value="{{ realm_message_content_edit_limit_minutes }}"
|
|
|
|
|
{{#unless realm_allow_message_editing}}disabled{{/unless}}/>
|
|
|
|
|
</div>
|
2021-05-25 21:24:12 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
2021-05-26 12:21:37 +02:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_edit_topic_policy" class="dropdown-title">{{t "Who can edit the topic of any message" }}</label>
|
2022-04-12 09:56:58 +02:00
|
|
|
|
<select name="realm_edit_topic_policy" id="id_realm_edit_topic_policy" class="prop-element" data-setting-widget-type="number" {{#unless realm_allow_message_editing}}disabled{{/unless}}>
|
2021-05-26 12:21:37 +02:00
|
|
|
|
{{> dropdown_options_widget option_values=common_message_policy_values}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2021-05-25 21:24:12 +02:00
|
|
|
|
|
|
|
|
|
{{> settings_checkbox
|
|
|
|
|
setting_name="realm_allow_edit_history"
|
|
|
|
|
prefix="id_"
|
|
|
|
|
is_checked=realm_allow_edit_history
|
|
|
|
|
label=admin_settings_label.realm_allow_edit_history}}
|
|
|
|
|
|
2021-06-08 13:45:14 +02:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_delete_own_message_policy" class="dropdown-title">{{t "Who can delete their own messages" }}
|
|
|
|
|
<i class="fa fa-info-circle settings-info-icon tippy-zulip-tooltip"
|
|
|
|
|
aria-hidden="true" data-tippy-content="{{t 'Administrators can delete any message.' }}"></i>
|
|
|
|
|
</label>
|
|
|
|
|
<select name="realm_delete_own_message_policy" id="id_realm_delete_own_message_policy" class="prop-element" data-setting-widget-type="number">
|
2021-06-23 12:53:38 +02:00
|
|
|
|
{{> dropdown_options_widget option_values=common_message_policy_values}}
|
2021-06-08 13:45:14 +02:00
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-05-25 21:24:12 +02:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_msg_delete_limit_setting" class="dropdown-title">
|
2021-06-08 13:45:14 +02:00
|
|
|
|
{{t "Time limit for deleting messages" }}
|
|
|
|
|
<i class="fa fa-info-circle settings-info-icon tippy-zulip-tooltip"
|
|
|
|
|
aria-hidden="true" data-tippy-content="{{t 'Administrators can delete any message.' }}"></i>
|
2021-05-25 21:24:12 +02:00
|
|
|
|
</label>
|
|
|
|
|
<select name="realm_msg_delete_limit_setting" id="id_realm_msg_delete_limit_setting" class="prop-element">
|
|
|
|
|
{{#each msg_delete_limit_dropdown_values}}
|
2021-12-04 15:39:38 +01:00
|
|
|
|
<option value="{{0}}">{{1.text}}</option>
|
2021-05-25 21:24:12 +02:00
|
|
|
|
{{/each}}
|
|
|
|
|
</select>
|
2022-08-31 20:16:01 +02:00
|
|
|
|
<div class="dependent-block">
|
|
|
|
|
<label for="id_realm_message_content_delete_limit_minutes" class="inline-block realm-time-limit-label">
|
|
|
|
|
{{t "Duration deletion is allowed after posting (minutes)" }}:
|
|
|
|
|
</label>
|
|
|
|
|
<input type="text" id="id_realm_message_content_delete_limit_minutes"
|
|
|
|
|
name="realm_message_content_delete_limit_minutes"
|
|
|
|
|
class="admin-realm-time-limit-input prop-element"
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
value="{{ realm_message_content_delete_limit_minutes }}"/>
|
|
|
|
|
</div>
|
2021-05-25 21:24:12 +02:00
|
|
|
|
</div>
|
2021-05-25 21:34:26 +02:00
|
|
|
|
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_move_messages_between_streams_policy">{{t "Who can move messages between streams" }}
|
|
|
|
|
</label>
|
|
|
|
|
<select name="realm_move_messages_between_streams_policy" class="setting-widget prop-element" id="id_realm_move_messages_between_streams_policy" data-setting-widget-type="number">
|
|
|
|
|
{{> dropdown_options_widget option_values=common_policy_values}}
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2021-05-25 21:24:12 +02:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-03-23 21:51:27 +01:00
|
|
|
|
<div id="org-other-permissions" class="org-subsection-parent">
|
|
|
|
|
<div class="subsection-header">
|
|
|
|
|
<h3>{{t "Other permissions" }}</h3>
|
|
|
|
|
{{> settings_save_discard_widget section_name="other-permissions" }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="m-10 inline-block organization-permissions-parent">
|
2018-03-20 23:18:34 +01:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_bot_creation_policy">{{t "Who can add bots" }}</label>
|
2020-05-07 11:20:22 +02:00
|
|
|
|
<select name="realm_bot_creation_policy" class="setting-widget prop-element" id="id_realm_bot_creation_policy" data-setting-widget-type="number">
|
2020-01-22 19:01:51 +01:00
|
|
|
|
{{> dropdown_options_widget option_values=bot_creation_policy_values}}
|
2018-03-20 23:18:34 +01:00
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2018-01-29 16:10:54 +01:00
|
|
|
|
|
2019-11-02 17:58:55 +01:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_user_group_edit_policy" class="dropdown-title">{{t "Who can create and manage user groups" }}</label>
|
2020-05-07 11:20:22 +02:00
|
|
|
|
<select name="realm_user_group_edit_policy" id="id_realm_user_group_edit_policy" class="prop-element" data-setting-widget-type="number">
|
2021-06-03 15:47:03 +02:00
|
|
|
|
{{> dropdown_options_widget option_values=common_policy_values}}
|
2019-11-02 17:58:55 +01:00
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
2019-02-07 19:01:37 +01:00
|
|
|
|
<div class="input-group">
|
2021-05-04 19:02:24 +02:00
|
|
|
|
<label for="realm_add_custom_emoji_policy" class="dropdown-title">{{t "Who can add custom emoji" }}</label>
|
2022-02-08 00:13:33 +01:00
|
|
|
|
<select name="realm_add_custom_emoji_policy" class="setting-widget prop-element" id="id_realm_add_custom_emoji_policy" data-setting-widget-type="number">
|
2021-05-17 19:32:35 +02:00
|
|
|
|
{{> dropdown_options_widget option_values=common_policy_values}}
|
2019-02-07 19:01:37 +01:00
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-01-08 01:49:44 +01:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<label for="realm_private_message_policy">{{t "Who can use private messages" }} ({{t "beta" }})
|
2020-05-15 20:43:31 +02:00
|
|
|
|
{{> ../help_link_widget link="/help/restrict-private-messages" }}
|
2020-01-08 01:49:44 +01:00
|
|
|
|
</label>
|
2020-05-07 11:20:22 +02:00
|
|
|
|
<select name="realm_private_message_policy" class="setting-widget prop-element" id="id_realm_private_message_policy" data-setting-widget-type="number">
|
2020-01-28 07:51:44 +01:00
|
|
|
|
{{> dropdown_options_widget option_values=private_message_policy_values}}
|
2020-01-08 01:49:44 +01:00
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2017-05-18 14:06:57 +02:00
|
|
|
|
</div>
|
2017-07-12 23:32:14 +02:00
|
|
|
|
</div>
|
2017-05-18 14:06:57 +02:00
|
|
|
|
</form>
|
|
|
|
|
</div>
|