From 9d7e68887fba10463ff7cfcba5b0a097fbf9f486 Mon Sep 17 00:00:00 2001 From: "Carrie Warner (Mattermost)" <74422101+cwarnermm@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:23:35 -0400 Subject: [PATCH] Noted that require plugin signature disables file upload --- .../plugins-configuration-settings.rst | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/source/configure/plugins-configuration-settings.rst b/source/configure/plugins-configuration-settings.rst index c6a51c4d206..e3f84dc7a32 100644 --- a/source/configure/plugins-configuration-settings.rst +++ b/source/configure/plugins-configuration-settings.rst @@ -51,7 +51,10 @@ Require plugin signature | - **false**: Disables plugin signature validation for managed and unmanaged plugins. | - ``config.json`` setting: ``.PluginSettings.RequirePluginSignature: true`` | | | - Environment variable: ``MM_PLUGINSETTINGS_REQUIREPLUGINSIGNATURE`` | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ -| **Note**: Pre-packaged plugins are not subject to signature validation. Plugins installed through the Marketplace are always subject to signature validation at the time of download. | +| **Notes**: | +| | +| - Pre-packaged plugins are not subject to signature validation. Plugins installed through the Marketplace are always subject to signature validation at the time of download. | +| - Enabling this configuration will result in `plugin file uploads <#upload-plugin>`__ being disabled in the System Console. | +---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+ .. config:setting:: plugins-automaticprepackagedplugins @@ -78,6 +81,9 @@ Automatic prepackaged plugins :configjson: EnableUploads :environment: MM_PLUGINSETTINGS_ENABLEUPLOADS + - **true**: Enables system admins to upload plugins from the local computer to the Mattermost server. + - **false**: **(Default)** Disables uploading of plugins from the local computer to the Mattermost server. + Upload Plugin ~~~~~~~~~~~~~ @@ -85,13 +91,16 @@ Upload Plugin :start-after: :nosearch: +------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+ -| - **true**: Enables you to upload plugins from your local computer to your Mattermost server for all system admins. | - System Config path: **Plugins > Plugin Management** | -| - **false**: **(Default)** Disables uploading of plugins from your local computer to your Mattermost server for all system admins. | - ``config.json`` setting: ``.PluginSettings.EnableUploads: false`` | +| - **true**: Enables you to upload plugins from the local computer to the Mattermost server. | - System Config path: **Plugins > Plugin Management** | +| - **false**: **(Default)** Disables uploading of plugins from the local computer to the Mattermost server. | - ``config.json`` setting: ``.PluginSettings.EnableUploads: false`` | | | - Environment variable: ``MM_PLUGINSETTINGS_ENABLEUPLOADS`` | +------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+ -| **Note**: When plugin uploads are enabled, the error ``Received invlaid response from the server`` when uploading a plugin file typically indicates that the | -| `MaxFileSize `__ configuration setting isn't large enough to support the plugin file upload. | -| Additional proxy setting updateds may also be required. | +| **Notes**: | +| | +| - When plugin uploads are enabled, the error ``Received invlaid response from the server`` when uploading a plugin file typically indicates that the | +| :ref:`MaxFileSize ` configuration setting isn't large enough to support the plugin file upload. Additional proxy setting updateds | +| may also be required. | +| - The ability to upload plugin files is disabled when the `Require plugin signature <#require-plugin-signature>`__ configuration setting is enabled. | +------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------+ .. config:setting:: plugins-enablemarketplace