MM-19867: - Implement allowing multiple SAML Libraries (#13299)

* Implement allowing multiple SAML Libraries

* fix unit tests

* updates based on review feedback

* Only set on startup, not config changes

* update unit tests, reload enterprise

* need to reset for previous tests

* update license statement

* fix licensing line
Этот коммит содержится в:
Scott Bishel
2019-12-18 15:35:53 -07:00
коммит произвёл GitHub
родитель 75ffd0b69e
Коммит be3e008dca
3 изменённых файлов: 133 добавлений и 1 удалений

Просмотреть файл

@@ -797,6 +797,7 @@ type ExperimentalSettings struct {
EnableClickToReply *bool `restricted:"true"`
LinkMetadataTimeoutMilliseconds *int64 `restricted:"true"`
RestrictSystemAdmin *bool `restricted:"true"`
UseNewSAMLLibrary *bool
}
func (s *ExperimentalSettings) SetDefaults() {
@@ -819,6 +820,9 @@ func (s *ExperimentalSettings) SetDefaults() {
if s.RestrictSystemAdmin == nil {
s.RestrictSystemAdmin = NewBool(false)
}
if s.UseNewSAMLLibrary == nil {
s.UseNewSAMLLibrary = NewBool(false)
}
}
type AnalyticsSettings struct {