Skip to content

Commit

Permalink
Merge branch 'latest' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
osc-bot committed Oct 22, 2024
2 parents 6fc072c + f4afc05 commit a62b9cd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
14 changes: 14 additions & 0 deletions source/customizations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <download_enabled>`
and :ref:`upload_enabled for disabling uploads <upload_enabled>`.

.. 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
Expand Down
6 changes: 5 additions & 1 deletion source/reference/files/ondemand-d-ymls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,8 @@ Configuration Properties
.. _upload_enabled:
.. describe:: upload_enabled (Boolean, true)

.. versionadded:: 3.1

Enable uploading files.

Default
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion source/release-notes/v3.1-release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <downlad_enabled>`
browser. See the configuration for :ref:`disabling downloads <download_enabled>`
and :ref:`disabling uploads <upload_enabled>` for how to configure this.

Custom Javascript files
Expand Down

0 comments on commit a62b9cd

Please sign in to comment.