{{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}}
{{> group_setting_value_pill_input setting_name="realm_create_multiuse_invite_group" label=(t 'Who can create reusable invitation links')}}

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

{{t "Channel permissions" }}

{{> settings_save_discard_widget section_name="stream-permissions" }}
{{> group_setting_value_pill_input setting_name="realm_can_create_public_channel_group" label=(t 'Who can create public channels')}} {{> 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"}} {{> ../dropdown_widget_with_label widget_name="realm_can_create_web_public_channel_group" label=(t 'Who can create web-public channels') value_type="number"}} {{> group_setting_value_pill_input setting_name="realm_can_create_private_channel_group" label=(t 'Who can create private channels')}}

{{t "Group permissions" }} {{> ../help_link_widget link="/help/manage-user-groups" }}

{{> settings_save_discard_widget section_name="group-permissions" }}
{{> group_setting_value_pill_input setting_name="realm_can_manage_all_groups" label=(t 'Who can administer all user groups')}} {{> group_setting_value_pill_input setting_name="realm_can_create_groups" label=(t 'Who can create user groups')}}

{{t "Direct message permissions" }} {{> ../help_link_widget link="/help/restrict-direct-messages" }}

{{> settings_save_discard_widget section_name="direct-message-permissions" }}
{{> group_setting_value_pill_input setting_name="realm_direct_message_permission_group" label=(t 'Who can authorize a direct message conversation')}} {{> group_setting_value_pill_input setting_name="realm_direct_message_initiator_group" label=(t 'Who can start a direct message conversation')}}

{{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" }}
{{> group_setting_value_pill_input setting_name="realm_can_move_messages_between_topics_group" label=(t 'Who can move messages to another topic')}}
{{> group_setting_value_pill_input setting_name="realm_can_move_messages_between_channels_group" label=(t 'Who can move messages to another channel')}}

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

{{> settings_save_discard_widget section_name="msg-deletion" }}
{{> group_setting_value_pill_input setting_name="realm_can_delete_any_message_group" label=(t 'Who can delete any message')}} {{> group_setting_value_pill_input setting_name="realm_can_delete_own_message_group" label=(t 'Who can delete their own messages')}}

{{t "User identity" }} {{> ../help_link_widget link="/help/restrict-name-and-email-changes" }}

{{> settings_save_discard_widget section_name="user-identity" }}
{{> settings_checkbox setting_name="realm_require_unique_names" prefix="id_" is_checked=realm_require_unique_names label=admin_settings_label.realm_require_unique_names}} {{> 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}}

{{t "Guests" }}

{{> settings_save_discard_widget section_name="guest-settings" }}
{{> 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}} {{> ../dropdown_widget_with_label widget_name="realm_can_access_all_users_group" label=(t 'Who can view all other users in the organization') value_type="number" help_link="/help/guest-users#configure-whether-guests-can-see-all-other-users"}}

{{t "Other permissions" }}

{{> settings_save_discard_widget section_name="other-permissions" }}
{{> group_setting_value_pill_input setting_name="realm_can_add_custom_emoji_group" label=(t 'Who can add custom emoji')}}