IQSS / IQSS/dataverse

Extend Storage Quotas to individual datasets and user accounts

Open
#11,529 17 comments 0 reactions 1 assignee View on GitHub

@landreev is already working on this.

Since Sep 14, 2026.

FY26 Sprint 11 FY26 Sprint 12 FY26 Sprint 13 FY26 Sprint 14 FY26 Sprint 15 FY26 Sprint 16 FY26 Sprint 17 FY26 Sprint 18 FY26 Sprint 20 Needs Backend Design Size: 80 Type: Feature
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

(edited by @landreev 05-27-2025; question marks indicate issues that may need additional discussion before we have a clear idea of what to implement and how)

Overview of the Feature Request

  • Last year we have added storage quotas that can be enabled on collections. However, that cannot be used to track and control storage use in the datasets that installations like IQSS allow users to create in the root-level collection.
  • We have a local curation request (see https://github.com/IQSS/dataverse.harvard.edu/issues/365) to address this by adding quotas that can be configured on per user account-basis.
  • While it should be easy to force an account to become read-only once a certain amount of data is deposited with it, it seems like it would be very easy to bypass, by giving write access to a dataset to other accounts (?).
  • It may however be possible to address this by being able to set quotas both on a per-user AND per-dataset basis (?)

Extending the currently implemented collection quotas to be configurable on individual datasets should be trivial. The same code that keeps track of collection storage use already does that for datasets as well. The actual quota check methods already work on either collections or datasets. That internal functionality just needs to be extended to the APIs that set the quotas and report storage use.

It should not be difficult to add keeping track of storage use by user accounts either. Provided we simply count the sizes of all the files created by the given authenticateduser. (?)

Any open or closed issues related to this feature request?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.