Plugins Catalog: Make the catalog the default way to interact with plugins (#39779) (#39822)

* chore(Plugins/Admin): make the Plugins Catalog the default way to interact with plugins

* chore(defaults.ini): change the default value for `plugin_admin_enabled`

* test(Plugins): make the tests pass

(cherry picked from commit c2754eb9cc)

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2021-09-30 09:05:55 +02:00
committed by GitHub
co-authored by Levente Balogh
parent 91db8910a7
commit 70a4fd8a21
7 changed files with 28 additions and 15 deletions
+1 -1
View File
@@ -930,7 +930,7 @@ func (cfg *Cfg) Load(args CommandLineArgs) error {
cfg.PluginsAllowUnsigned = append(cfg.PluginsAllowUnsigned, plug)
}
cfg.PluginCatalogURL = pluginsSection.Key("plugin_catalog_url").MustString("https://grafana.com/grafana/plugins/")
cfg.PluginAdminEnabled = pluginsSection.Key("plugin_admin_enabled").MustBool(false)
cfg.PluginAdminEnabled = pluginsSection.Key("plugin_admin_enabled").MustBool(true)
cfg.PluginAdminExternalManageEnabled = pluginsSection.Key("plugin_admin_external_manage_enabled").MustBool(false)
if err := cfg.readFeatureToggles(iniFile); err != nil {