tripal
tripal copied to clipboard
New API function for files
Feature Request/Discussion
- [x] does this feature attempt to solve an existing problem with Tripal?
- [ ] are you open to developing or collaborating on an extension module if this is not a good fit for Tripal Core (no pressure here -just good to know upfront :-) )
- [ ] do you Need this feature ASAP?
Description
Right now the only way for Tripal to manage a file is if a user uploads a file using the Tripal uploader form elements. There is no way to add files and associate them with users programmatically. We need an API function to do it.
Your Specific Use Case
A use case is Cartogratree. They want to run Galaxy workflows. Behind the scenes they create the files and they want to associate those files with the users to count towards their Tripal managed quotas.
Generally Applicable
It seems that others will want to programmatically take advantage of Tripal managed quotas especially when files are generated for workflows behind the scenes.
Additional information/screenshots
Just following up on this. Were you able to get this implemented @spficklin and/or does Cartogratree still actively need this functionality?
Moving this over to Tripal 4. We will evaluate whether it is still needed when we get to this point in the upgrade.