Skip to content

Commit

Permalink
Don't set the quota for new uploads - files don't exist yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Sep 24, 2020
1 parent 36b5f20 commit fc219a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tools/actions/upload_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def __new_history_upload(trans, uploaded_dataset, history=None, state=None):
else:
hda.state = hda.states.QUEUED
trans.sa_session.flush()
history.add_dataset(hda, genome_build=uploaded_dataset.dbkey)
history.add_dataset(hda, genome_build=uploaded_dataset.dbkey, quota=False)
permissions = trans.app.security_agent.history_get_default_permissions(history)
trans.app.security_agent.set_all_dataset_permissions(hda.dataset, permissions)
trans.sa_session.flush()
Expand Down

0 comments on commit fc219a0

Please sign in to comment.