-
Notifications
You must be signed in to change notification settings - Fork 159
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
Limit batch download to a certain selection size #8456
Comments
|
@pascalwengerter unsure about the discussed status yesterday in the room - is this still needed to unfork cern? |
I don't think we'd need feedback today or this issue for the cern-unfork in general, but might be worth adding it to the project in general at a later point? :) your call |
@dragotin this issue originally was about preventing users from trying to download an archived version of I still agree that it's a good idea in general to limit the max size for an archive download to some number. Don't know what's reasonable, but as long as it's configurable for the whole system people should be happy. Eventually you want people to use the desktop client to retrieve larger amounts of data. |
|
@labkode @diocas @elizavetaRa I know this "still" isn't the exact solution to your problem, but since your idea needs backend adjustments that may take a while and the suggested approach here prevents your users from downloading massive amounts of data should I focus on this as a quick-fix-ish solution? |
@pascalwengerter I prefer the |
Same, I've opened a draft PR with an initial sketch that shouldn't be too hard to drag across the finish line ✊🏽 great that the archiver now "knows (announces) its limits" also 😄 |
Expected behaviour
For a certain total size of the currently selected files, we should not offer the download button in the frontend.
Background
Technically, this request is a workaround for CERN, who want to disallow downloads on certains paths.
Their proper solution needs backend changes, but until then (and in general), there should be a maximum filesize for archiver/single file download?
The text was updated successfully, but these errors were encountered: