diff --git a/components/admin_console/__snapshots__/admin_console.test.jsx.snap b/components/admin_console/__snapshots__/admin_console.test.jsx.snap index f64d420a7fd6..a5f0c75b682e 100644 --- a/components/admin_console/__snapshots__/admin_console.test.jsx.snap +++ b/components/admin_console/__snapshots__/admin_console.test.jsx.snap @@ -172,6 +172,11 @@ exports[`components/AdminConsole should generate the routes 1`] = ` path="/integrations/integration_management" render={[Function]} /> + Security**. They can be used to authenticate against the API and give full access to the account.\n\n To manage who can create personal access tokens or to search users by token ID, go to the **User Management > Users** page.', + help_text_markdown: true, + }, + ], + }, + }, + bot_accounts: { + url: 'integrations/bot_accounts', + title: t('admin.integrations.botAccounts'), + title_default: 'Bot Accounts', + schema: { + id: 'BotAccountSettings', + name: t('admin.integrations.botAccounts.title'), + name_default: 'Bot Accounts', + settings: [ { type: Constants.SettingsTypes.TYPE_BOOL, key: 'ServiceSettings.EnableBotAccountCreation', @@ -3408,11 +3429,11 @@ export default { }, { type: Constants.SettingsTypes.TYPE_BOOL, - key: 'ServiceSettings.EnableUserAccessTokens', - label: t('admin.service.userAccessTokensTitle'), - label_default: 'Enable User Access Tokens: ', - help_text: t('admin.service.userAccessTokensDescription'), - help_text_default: 'When true, users can create [user access tokens](!https://about.mattermost.com/default-user-access-tokens) for integrations in **Account Settings > Security**. They can be used to authenticate against the API and give full access to the account.\n\n To manage who can create personal access tokens or to search users by token ID, go to the **User Management > Users** page.', + key: 'ServiceSettings.DisableBotsWhenOwnerIsDeactivated', + label: t('admin.service.disableBotOwnerDeactivatedTitle'), + label_default: 'Disable bot accounts when owner is deactivated:', + help_text: t('admin.service.disableBotWhenOwnerIsDeactivated'), + help_text_default: 'When a user is deactivated, disables all bot accounts managed by the user. To re-enable bot accounts, go to **Integrations > Bot Accounts**.', help_text_markdown: true, }, ], diff --git a/components/admin_console/admin_sidebar/__snapshots__/admin_sidebar.test.jsx.snap b/components/admin_console/admin_sidebar/__snapshots__/admin_sidebar.test.jsx.snap index ec49b9de4b98..57406ccadd99 100644 --- a/components/admin_console/admin_sidebar/__snapshots__/admin_sidebar.test.jsx.snap +++ b/components/admin_console/admin_sidebar/__snapshots__/admin_sidebar.test.jsx.snap @@ -513,6 +513,19 @@ exports[`components/AdminSidebar should match snapshot 1`] = ` /> + } + /> + + } + /> + + } + /> + + } + /> + + } + /> + Bot Accounts**.", "admin.service.enableBotAccountCreation": "When true, users can create bot accounts for integrations in **Integrations > Bot Accounts**. Bot accounts are similar to user accounts except they cannot be used to log in. See [documentation](https://mattermost.com/pl/default-bot-accounts) to learn more.", "admin.service.enableBotTitle": "Enable Bot Account Creation: ", "admin.service.enforceMfaDesc": "When true, [multi-factor authentication](!https://docs.mattermost.com/deployment/auth.html) is required for login. New users will be required to configure MFA on signup. Logged in users without MFA configured are redirected to the MFA setup page until configuration is complete.\n \nIf your system has users with login methods other than AD/LDAP and email, MFA must be enforced with the authentication provider outside of Mattermost.",