[MM-28313] Add Cloud Billing feature flag (#15391)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1ab06ffa7c
Коммит
c1ac3e69f0
@@ -863,6 +863,7 @@ type ExperimentalSettings struct {
|
||||
RestrictSystemAdmin *bool `access:"experimental,write_restrictable"`
|
||||
UseNewSAMLLibrary *bool `access:"experimental"`
|
||||
CloudUserLimit *int64 `access:"experimental,write_restrictable"`
|
||||
CloudBilling *bool `access:"experimental,write_restrictable"`
|
||||
}
|
||||
|
||||
func (s *ExperimentalSettings) SetDefaults() {
|
||||
@@ -890,6 +891,11 @@ func (s *ExperimentalSettings) SetDefaults() {
|
||||
// User limit 0 is treated as no limit
|
||||
s.CloudUserLimit = NewInt64(0)
|
||||
}
|
||||
|
||||
if s.CloudBilling == nil {
|
||||
s.CloudBilling = NewBool(false)
|
||||
}
|
||||
|
||||
if s.UseNewSAMLLibrary == nil {
|
||||
s.UseNewSAMLLibrary = NewBool(false)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user