MM-15662: Rename "CreateBotAccounts" config.json setting to "EnableBotAccountCreation" (#10875)
* MM-15662 change conflig flag to EnableBotAccountCreation * undo changes to i18n * MM-15662: Change config flag for bot creation adds newline to i18n * MM-15662 Update diagnostics.go to use new config flag
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
693d11304b
Коммит
88005fbf54
@@ -293,7 +293,7 @@ type ServiceSettings struct {
|
||||
EnableEmailInvitations *bool
|
||||
ExperimentalLdapGroupSync *bool
|
||||
DisableBotsWhenOwnerIsDeactivated *bool `restricted:"true"`
|
||||
CreateBotAccounts *bool
|
||||
EnableBotAccountCreation *bool
|
||||
}
|
||||
|
||||
func (s *ServiceSettings) SetDefaults() {
|
||||
@@ -637,8 +637,8 @@ func (s *ServiceSettings) SetDefaults() {
|
||||
s.DisableBotsWhenOwnerIsDeactivated = NewBool(true)
|
||||
}
|
||||
|
||||
if s.CreateBotAccounts == nil {
|
||||
s.CreateBotAccounts = NewBool(false)
|
||||
if s.EnableBotAccountCreation == nil {
|
||||
s.EnableBotAccountCreation = NewBool(false)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user