MM-64675: Enable modification of plugin settings in local mode (#33376) (#33452)

Automatic Merge
Этот коммит содержится в:
Mattermost Build
2025-07-17 20:28:42 +03:00
коммит произвёл GitHub
родитель 07a34f02b6
Коммит 2fceeceba6
2 изменённых файлов: 42 добавлений и 12 удалений

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

@@ -64,12 +64,6 @@ func localUpdateConfig(c *Context, w http.ResponseWriter, r *http.Request) {
appCfg := c.App.Config()
// Do not allow plugin uploads to be toggled through the API
cfg.PluginSettings.EnableUploads = appCfg.PluginSettings.EnableUploads
// Do not allow certificates to be changed through the API
cfg.PluginSettings.SignaturePublicKeyFiles = appCfg.PluginSettings.SignaturePublicKeyFiles
c.App.HandleMessageExportConfig(cfg, appCfg)
appErr := cfg.IsValid()