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

update customization page for disabling uploads & downloads #1007

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
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
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
Loading