Skip to content

Added disable anonymous bulk download#102

Merged
HeDo88TH merged 1 commit into
masterfrom
disable-anonymous-bulk-downloads
May 28, 2026
Merged

Added disable anonymous bulk download#102
HeDo88TH merged 1 commit into
masterfrom
disable-anonymous-bulk-downloads

Conversation

@HeDo88TH

Copy link
Copy Markdown
Collaborator

As title says

@HeDo88TH HeDo88TH self-assigned this May 28, 2026
Copilot AI review requested due to automatic review settings May 28, 2026 23:46
@HeDo88TH HeDo88TH added the enhancement New feature or request label May 28, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a client-side disableAnonymousBulkDownloads feature flag that prevents non-logged-in users from triggering bulk downloads (multi-file selections or directory/whole-dataset downloads) from both the dataset header and the shared context menu.

Changes:

  • Adds new DISABLE_ANONYMOUS_BULK_DOWNLOADS feature flag constant.
  • Adds bulk-selection detection and an isEnabled gate to the shared Download context menu item.
  • Adds downloadIsBulk / downloadBlocked / downloadTitle computeds in Header.vue and disables the header download button accordingly.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
webapp/js/libs/features.js Declares the new feature flag constant.
webapp/js/libs/contextMenuItems.js Disables the Download menu item for anonymous bulk selections.
webapp/js/layout/Header.vue Disables the header download button and updates its tooltip when bulk downloads are blocked.

@HeDo88TH HeDo88TH merged commit 9376cee into master May 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants