PLT-6924 Added config options to disable file uploads/downloads on mobile (#7049)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
da6e6ca0bf
Коммит
3c0f082506
@@ -452,6 +452,8 @@ func getClientConfig(c *model.Config) map[string]string {
|
||||
props["SupportEmail"] = *c.SupportSettings.SupportEmail
|
||||
|
||||
props["EnableFileAttachments"] = strconv.FormatBool(*c.FileSettings.EnableFileAttachments)
|
||||
props["EnableMobileFileUpload"] = strconv.FormatBool(*c.FileSettings.EnableMobileUpload)
|
||||
props["EnableMobileFileDownload"] = strconv.FormatBool(*c.FileSettings.EnableMobileDownload)
|
||||
props["EnablePublicLink"] = strconv.FormatBool(c.FileSettings.EnablePublicLink)
|
||||
|
||||
props["WebsocketPort"] = fmt.Sprintf("%v", *c.ServiceSettings.WebsocketPort)
|
||||
|
||||
Ссылка в новой задаче
Block a user