GH-18288: Allow configuring unsafe-eval and unsafe-inline (#18801)
* GH-18288: Allow configuring unsafe-eval and unsafe-inline * Add developer flags to telemetry * wip * wip * Refactor based on review * Refactor based on review * fix expected vs. actual in assert.Equal * Add unit tests, rework to check only supported flags. * Update model/config.go Co-authored-by: Jesse Hallam <jesse@thehallams.ca> * Fix failing tests * Refactor based on review * Refactor based on review * Refactor based on review Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com> Co-authored-by: Jesse Hallam <jesse@thehallams.ca>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
df3ed307df
Коммит
27559c1c7b
@@ -373,6 +373,7 @@ func (ts *TelemetryService) trackConfig() {
|
||||
"experimental_enable_authentication_transfer": *cfg.ServiceSettings.ExperimentalEnableAuthenticationTransfer,
|
||||
"enable_testing": cfg.ServiceSettings.EnableTesting,
|
||||
"enable_developer": *cfg.ServiceSettings.EnableDeveloper,
|
||||
"developer_flags": isDefault(*cfg.ServiceSettings.DeveloperFlags, model.ServiceSettingsDefaultDeveloperFlags),
|
||||
"enable_multifactor_authentication": *cfg.ServiceSettings.EnableMultifactorAuthentication,
|
||||
"enforce_multifactor_authentication": *cfg.ServiceSettings.EnforceMultifactorAuthentication,
|
||||
"enable_oauth_service_provider": cfg.ServiceSettings.EnableOAuthServiceProvider,
|
||||
|
||||
Ссылка в новой задаче
Block a user