Skip to content

[PURR][#2817]Allow administrator to set larger quota for project and publication - #1943

Merged
nkissebe merged 1 commit into
hubzero:2.4-mainfrom
kuang5:kuang_local_branch_10092026
Oct 13, 2026
Merged

nkissebe merged 1 commit into
hubzero:2.4-mainfrom
kuang5:kuang_local_branch_10092026

Conversation

@kuang5

@kuang5 kuang5 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

PURR Ticket: https://purr.purdue.edu/support/ticket/2817

Some users want to publish a dataset that is larger than the default publication space quota, or upload file that is larger than the default project space quota. We usually manually set a larger quota for either the publication or project or both of them. However, the publication space quota will be reset to 10 GB and the project space quota will be reset to 1 TB if the project is funding-sponsored and such funding information is verified and approved by SPS office staff. We want the larger publication quota and project quota to keep as what they are instead of being reset to the premium values for them.

The code changes are that the publication quota is going to be set to the premium value only if the current pub quota is less than it. Same is applied to the project quota setting that the project quota is set to the premium value only when the current project quota is less than it.

Test procedure:

  1. Create a project.
  2. Login on admin interface, visit the project component, find the project you just create, change the publication quota to 15 GB and project quota to 2 TB, then save the changes.
  3. Go to front end to visit the project, fill in the funding information in setting, then save the changes.
  4. Visit sponsored projects view, find the project, click the manage button, enter the approval code and click the apply to approve it.
  5. Go back to the project component admin interface, open the project and check whether the publication quota and project quota are still 15 GB and 2 TB separately.
  6. Start creating another project, fill in the funding information in the procedure, and finish the rest steps to set up the project.
  7. Visit the sponsored project view and approve the new project. Login on admin interface, navigate to the project component, find the project and check whether the project quota is 1 TB and publication quota is 10 GB.

The test is done on dev and it works as expected.

@kuang5
kuang5 requested a review from nkissebe as a code owner October 9, 2026 20:12
@nkissebe
nkissebe merged commit fc8ae8e into hubzero:2.4-main Oct 13, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants