-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zkry! Great work, couple of small notes below
Co-Authored-By: Jason Blais <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zkry!
Tested UI:
- Correct title, help text, options
- Correct default option
Smoke tested functionality at the same time, though this PR wouldn't affect that
ServiceSettings.EnableUserAccessTokens
enabled/disabled, bot account creation is correctly restrictedServiceSettings.DisableBotsWhenOwnerIsDeactivated
enabled --> user deactivation disables bots they manage; user demotion from SysAdmin to member does not affect bot stateServiceSettings.DisableBotsWhenOwnerIsDeactivated
disabled --> user deactivation enables bots they manage; user demotion from SysAdmin to member does not affect bot state
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @zkry! 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor thing, but this could be ‘botAccounts’ instead of ‘botAccount’: ‘admin.integrations.botAccount.title’. Otherwise, looks good!
And thank you guys for making such a nice contributor experience! |
Thank you @zkry! |
-Moved EnableBotCreation from previous location - Added new settings `DisableBotsWhenOwnerIsDeactivated` mattermost/mattermost-webapp#2954
Updated documentation to reflect the new location of enabling bot accounts, and also added the new flag. |
* Added new 'Bot Accounts' page under 'Integrations' -Moved EnableBotCreation from previous location - Added new settings `DisableBotsWhenOwnerIsDeactivated` mattermost/mattermost-webapp#2954 * Update config-settings.rst * Removed old `EnableBots` location
* Update conf.py * Update net-promoter-score.rst * MM-16938: update plugins HA docs Reflect the 5.14 changes to upload plugins to the file store, simplifying deployment in HA environments. Simplify the overall dialogue of the page, updating some legacy links and terminology. * Update source/administration/plugins.rst Co-Authored-By: Jason Blais <[email protected]> * Update source/administration/plugins.rst Co-Authored-By: Jason Blais <[email protected]> * Update source/administration/plugins.rst Co-Authored-By: Jason Blais <[email protected]> * Update source/administration/plugins.rst Co-Authored-By: Jason Blais <[email protected]> * s/prepackaged/pre-packaged * Update important-upgrade-notes.rst * Update source/administration/plugins.rst Co-Authored-By: amyblais <[email protected]> * Update source/administration/plugins.rst Co-Authored-By: Jason Blais <[email protected]> * Update source/administration/plugins.rst Co-Authored-By: amyblais <[email protected]> * Update source/administration/plugins.rst Co-Authored-By: amyblais <[email protected]> * Update plugins.rst s/plugin/plugins/ * Update important-upgrade-notes.rst * Update config-settings.rst * Update sso-office.md * Update signing-in.rst * Update open-source-components.rst * Create accessibility.rst * MM-11701 Log request ID for outgoing webhooks - Added a note specifying that there is a request_id appended to the webhook after 5.14 * Update command-line-tools.rst * minor tweak * Update sso-google.md * Add files via upload * Minor tweak * Update attaching-files.rst * Update account-settings.rst * Update accessibility.rst * Add files via upload * Add files via upload * Add files via upload * Update accessibility.rst * Update accessibility.rst * Add files via upload * Update accessibility.rst * Update accessibility.rst * Update user.rst * Update keyboard-shortcuts.rst * Update keyboard-shortcuts.rst * Minor tweaks * Update command-line-tools.rst * Update branding.rst * Update command-line-tools.rst * Minor tweaks * Update migrating.rst * Minor tweak * Update sso-saml-okta.rst * Update sso-saml-adfs.rst * Update sso-saml-onelogin.rst * Update config-settings.rst * Update statistics.rst * Update telemetry.rst * Remove upgrade note regarding plugin health check The setting is not removed, the setting revert was removed via mattermost/mattermost#11819 @amyblais please help update changelog if appropriate? * Document 5.14 telemetry ClusterSettings: bool NetworkInterface, bool BindAddress, bool AdvertiseAddress - mattermost/mattermost#11677 PluginSettings: bool AllowInsecureDownloadUrl - mattermost/mattermost#11372 ElasticsearchSettings: bool SkipTLSVerification, bool Trace - mattermost/mattermost#11189 - mattermost/mattermost#11008 SamlSettings: bool SignRequest - mattermost/mattermost#11081 * Added note about password fields subtypes MM-14593-Add-password-type-for-Interactive-Dialogs * Noted DAU/MAU excludes bots now * Update important-upgrade-notes.rst * Update important-upgrade-notes.rst * Update important-upgrade-notes.rst * Update sso-google.md * Update config-settings.rst * Update permissions-backend.rst (#2912) * Update permissions-backend.rst * Update permissions-backend.rst * Update ldap-group-constrained-team-channel.rst (#2913) * Update ldap-group-constrained-team-channel.rst * Update ldap-group-constrained-team-channel.rst * Minor tweak * Update ldap-group-constrained-team-channel.rst * Update source/deployment/ldap-group-constrained-team-channel.rst Co-Authored-By: Martin Kraft <[email protected]> * Update source/deployment/ldap-group-constrained-team-channel.rst Co-Authored-By: Martin Kraft <[email protected]> * Update source/deployment/ldap-group-constrained-team-channel.rst Co-Authored-By: Martin Kraft <[email protected]> * Update config-settings.rst (#2901) * Update config-settings.rst * Update config-settings.rst * Update source/administration/config-settings.rst Co-Authored-By: amyblais <[email protected]> * Update source/administration/config-settings.rst Co-Authored-By: amyblais <[email protected]> * Update source/administration/config-settings.rst Co-Authored-By: amyblais <[email protected]> * Update source/administration/config-settings.rst Co-Authored-By: amyblais <[email protected]> * Update config-settings.rst * Update config-settings.rst * Update ldap-group-constrained-team-channel.rst (#2918) * MM-15128 change openDialog to allow dialogs with no elements Noted the use case for having 0 elements in an interactive dialog box * MM-16389 Reference icon_emoji parameter for webhooks Added a tip about the parameter, and removed it from the Slack compatibility "limitations" list. * Update mobile-faq.rst (#2922) * Added bots account type to compliance exports - Noted that as of 5.14, there is a new field called "UserType" that labels either 'bot' or 'user'. - Removed planned implementation note * Added note that relative URLs are now accepted * Noted that Emoji in Titles are supported in v5.14 * Removed words * Update interactive-messages.rst (#2923) * Update config-settings.rst (#2919) * Update config-settings.rst * Update config-settings.rst * Update config-settings.rst * Updated header section for 'mattermost user' functions (#2927) Noted that bots can be converted both ways * Updated `mattermost user convert` for Bot --> User (#2926) - Added new example format (had to use an OR because of how the command is structured) - Added a new example command that would run properly - Added the new `--user` option flag and details. mattermost/mattermost#10803 * Added new 'Bot Accounts' page under 'Integrations' (#2925) * Added new 'Bot Accounts' page under 'Integrations' -Moved EnableBotCreation from previous location - Added new settings `DisableBotsWhenOwnerIsDeactivated` mattermost/mattermost-webapp#2954 * Update config-settings.rst * Removed old `EnableBots` location * v5.14 Changelog (#2850) * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update source/administration/changelog.md Co-Authored-By: Jesse Hallam <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Jesse Hallam <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Jesse Hallam <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Jesse Hallam <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Jesse Hallam <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Jesse Hallam <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Jesse Hallam <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Jesse Hallam <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Jesse Hallam <[email protected]> * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update source/administration/changelog.md Co-Authored-By: Martin Kraft <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Martin Kraft <[email protected]> * Update source/administration/changelog.md Co-Authored-By: Martin Kraft <[email protected]> * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md * Update changelog.md
Summary
This PR adds a new settings page for bot accounts. The page has the settings for 'ServiceSettings.CreateBotAccounts' and 'ServiceSettings.DisableBotsWhenOwnerIsDeactivated'.
Ticket Link
https://mattermost.atlassian.net/browse/MM-15180
Github issue: mattermost/mattermost#11083