Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noted that require plugin signature disables file upload #7183

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions source/configure/plugins-configuration-settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -78,20 +81,26 @@ 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
~~~~~~~~~~~~~

.. include:: ../_static/badges/selfhosted-only.rst
: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 </configure/environment-configuration-settings.html#maximum-file-size>`__ 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 <configure/environment-configuration-settings:maximum file size>` 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
Expand Down
Loading