diff --git a/source/customizations.rst b/source/customizations.rst index 63704de5..9246b89e 100644 --- a/source/customizations.rst +++ b/source/customizations.rst @@ -378,6 +378,20 @@ app. .. include:: customizations/main-navigation.inc .. include:: customizations/interactive-apps-menu.inc + +Disable uploads or downloads +---------------------------- + +By default, Open OnDemand will allow users to upload and download files. +Both can be disabled through configuration. + +Use :ref:`download_enabled for disabling downloads ` +and :ref:`upload_enabled for disabling uploads `. + +.. tip:: + Use File Access Controls (FACLs) on the ondemand.d files to enable + or disable uploads or downloads based on group permissions. + .. _set-upload-limits: Set Upload Limits diff --git a/source/reference/files/ondemand-d-ymls.rst b/source/reference/files/ondemand-d-ymls.rst index b9e3f108..b962de57 100644 --- a/source/reference/files/ondemand-d-ymls.rst +++ b/source/reference/files/ondemand-d-ymls.rst @@ -760,6 +760,8 @@ Configuration Properties .. _upload_enabled: .. describe:: upload_enabled (Boolean, true) + .. versionadded:: 3.1 + Enable uploading files. Default @@ -777,9 +779,11 @@ Configuration Properties upload_enabled: false -.. _downlad_enabled: +.. _download_enabled: .. describe:: download_enabled (Boolean, true) + .. versionadded:: 3.1 + Enable downloading files. Default diff --git a/source/release-notes/v3.1-release-notes.rst b/source/release-notes/v3.1-release-notes.rst index e16dc3e9..6d8196a8 100644 --- a/source/release-notes/v3.1-release-notes.rst +++ b/source/release-notes/v3.1-release-notes.rst @@ -263,7 +263,7 @@ Disabling uploads and downloads ............................... Sites can now disable uploads and downloads through the file -browser. See the configuration for :ref:`disabling downloads ` +browser. See the configuration for :ref:`disabling downloads ` and :ref:`disabling uploads ` for how to configure this. Custom Javascript files