[CLD-7549] Expose System Console UI for ExperimentalAuditSettings (#26840)
* Expose experimental audit log settings to sys console * Add the rest of the config * Add check for enterprise sku * Update string to include a note about being required given another setting * gofmt --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
@@ -1400,7 +1400,7 @@ type ExperimentalAuditSettings struct {
|
||||
FileMaxBackups *int `access:"experimental_features,write_restrictable,cloud_restrictable"`
|
||||
FileCompress *bool `access:"experimental_features,write_restrictable,cloud_restrictable"`
|
||||
FileMaxQueueSize *int `access:"experimental_features,write_restrictable,cloud_restrictable"`
|
||||
AdvancedLoggingJSON json.RawMessage `access:"experimental_features,write_restrictable,cloud_restrictable"`
|
||||
AdvancedLoggingJSON json.RawMessage `access:"experimental_features,write_restrictable"`
|
||||
AdvancedLoggingConfig *string `access:"experimental_features,write_restrictable,cloud_restrictable"` // Deprecated: use `AdvancedLoggingJSON`
|
||||
}
|
||||
|
||||
|
||||
@@ -56,6 +56,8 @@ type FeatureFlags struct {
|
||||
|
||||
NotificationMonitoring bool
|
||||
|
||||
ExperimentalAuditSettingsSystemConsoleUI bool
|
||||
|
||||
ClientMetrics bool
|
||||
}
|
||||
|
||||
@@ -80,6 +82,7 @@ func (f *FeatureFlags) SetDefaults() {
|
||||
f.ChannelBookmarks = false
|
||||
f.WebSocketEventScope = false
|
||||
f.NotificationMonitoring = true
|
||||
f.ExperimentalAuditSettingsSystemConsoleUI = false
|
||||
f.ClientMetrics = false
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user