From fdd04b56a73d779959eb8f170d65b8f32599c7c4 Mon Sep 17 00:00:00 2001 From: Alya Abbott Date: Fri, 7 Mar 2025 15:42:19 -0800 Subject: [PATCH] help and docs: Document how to disable file uploads on a server. --- docs/production/upload-backends.md | 4 +++- help/share-and-upload-files.md | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/production/upload-backends.md b/docs/production/upload-backends.md index 3a76b20c09..a8afdad1da 100644 --- a/docs/production/upload-backends.md +++ b/docs/production/upload-backends.md @@ -17,7 +17,9 @@ provider supported by the `boto` library). Regardless of the backend you choose, you can configure the maximum size of individual uploaded files using the `MAX_FILE_UPLOAD_SIZE` -[server setting](../production/settings.md). +[server setting](../production/settings.md). Setting it to 0 disables +file uploads, and hides the UI for uploading files from the web and +desktop apps. ## S3 backend configuration diff --git a/help/share-and-upload-files.md b/help/share-and-upload-files.md index 885461d62e..be145855c8 100644 --- a/help/share-and-upload-files.md +++ b/help/share-and-upload-files.md @@ -125,7 +125,8 @@ The Zulip Cloud Free [plan](https://zulip.com/plans/#cloud) includes a total of In organizations on a self-hosted server, server administrators can configure the maximum size for uploaded files via the `MAX_FILE_UPLOAD_SIZE` -[server setting][system-settings]. +[server setting][system-settings]. Setting it to 0 disables file uploads, and +hides the UI for uploading files from the web and desktop apps. [system-settings]: https://zulip.readthedocs.io/en/stable/production/settings.html