{{t "Joining the organization" }}

{{> settings_save_discard_widget section_name="join-settings" }}
{{> settings_checkbox setting_name="realm_invite_required" prefix="id_" is_checked=realm_invite_required label=admin_settings_label.realm_invite_required}}
{{> ../dropdown_widget_with_label widget_name="realm_create_multiuse_invite_group" label=(t 'Who can create reusable invitation links') value_type="number"}}

{{#if is_owner }} {{t "[Configure]" }} {{/if}}
{{!-- This setting is hidden unless `custom_period` --}}

{{t "User identity" }}

{{> settings_save_discard_widget section_name="user-identity" }}
{{> settings_checkbox setting_name="realm_name_changes_disabled" prefix="id_" is_checked=realm_name_changes_disabled label=admin_settings_label.realm_name_changes_disabled}} {{> settings_checkbox setting_name="realm_email_changes_disabled" prefix="id_" is_checked=realm_email_changes_disabled label=admin_settings_label.realm_email_changes_disabled}} {{> settings_checkbox setting_name="realm_avatar_changes_disabled" prefix="id_" is_checked=realm_avatar_changes_disabled label=admin_settings_label.realm_avatar_changes_disabled}} {{> settings_checkbox setting_name="realm_enable_guest_user_indicator" prefix="id_" is_checked=realm_enable_guest_user_indicator label=admin_settings_label.realm_enable_guest_user_indicator}}

{{t "Stream permissions" }}

{{> settings_save_discard_widget section_name="stream-permissions" }}
{{> upgrade_tip_widget }} {{> settings_checkbox setting_name="realm_enable_spectator_access" prefix="id_" is_checked=realm_enable_spectator_access label=admin_settings_label.realm_enable_spectator_access is_disabled=disable_enable_spectator_access_setting help_link="/help/public-access-option"}}

{{t "Message editing" }} {{> ../help_link_widget link="/help/restrict-message-editing-and-deletion" }}

{{> settings_save_discard_widget section_name="msg-editing" }}
{{> settings_checkbox setting_name="realm_allow_message_editing" prefix="id_" is_checked=realm_allow_message_editing label=admin_settings_label.realm_allow_message_editing}} {{> settings_checkbox setting_name="realm_allow_edit_history" prefix="id_" is_checked=realm_allow_edit_history label=admin_settings_label.realm_allow_edit_history}}

{{t "Moving messages" }} {{> ../help_link_widget link="/help/restrict-moving-messages" }}

{{> settings_save_discard_widget section_name="moving-msgs" }}

{{t "Message deletion" }} {{> ../help_link_widget link="/help/delete-a-message" }}

{{> settings_save_discard_widget section_name="msg-deletion" }}

{{t "Other permissions" }}

{{> settings_save_discard_widget section_name="other-permissions" }}