Nowlan Freese [4:16 PM]
Hi Dr. Fonner. Quick question regarding public URL discrepancy between the Agave API and the Discovery Environment. For example, if a user within the DE clicks on Share > Create a Public Link..., then checks to see if that link is public through the Agave API, the DE link will be public, but the Agave API will say it is not public.
*Assuming the same file.
John Fonner [4:19 PM]
iRODS has some strange permissions behavior. I suspect that the DE is changing the underlying iRODS permissions, and Agave isn't picking up the change.
when you are checking through Agave, are you doing a permissions call (i.e. files-pems-list)?
Nowlan Freese [4:20 PM]
My GET looks like: https://agave.iplantc.org/files/v2/pems/system/data.iplantcollaborative.org/nowlanf/test/igb-bam-seq.png?username=public&filter=permission
John Fonner [4:21 PM]
does Agave also fail to download the file? Or it just fails to list "public" as having permissions?
Nowlan Freese [4:21 PM]
Agave fails to download as well.
We were doing testing, and initially assumed that DE/iRODS and Agave would be completely in sync, which led to some odd results.
John Fonner [4:23 PM]
A reasonable assumption, but unfortunately some of these capabilities sprang up in parallel. The DE doesn't share using Agave. It is using this: https://cyverse-de.github.io/api/endpoints/sharing.html
Still, I think this is updating permissions within iRODS. If that is the case, Agave should be able to pick up what happened.
I am about to have to step away from my desk, but we should document this as a bug report so that the core Agave devs can take a look.
Nowlan Freese [4:29 PM]
Sounds good, in the long run I don't think it affects us too much, but I could see it causing some user confusion if the file is public in one place and not another. Let me know if you would like me to write anything up.
John Fonner [4:30 PM]
It would be great if you could write up an example that they can reproduce. If you have a TACC account, you can submit that as a consulting ticket in portal.tacc.utexas.edu. If not, just paste it in here, and I'll submit the ticket on your behalf.
Thanks for catching this, Nowlan. Glad it isn't a show stopper for you.
Nowlan Freese [4:34 PM]
No problem, I do have a TACC account, so I will write it up as best I can. Thank you for all of your help, it's made a big difference for our project.
John Fonner [5:24 PM]
Glad to hear it. Well, it's a cool project. I hope you get the conference/paper recognition that you and your team deserve.
I'm closing this for now, as the workaround in
IGBF-1647effectively makes this obsolete. File permissions will now be handled through dev-anon, which is unified between Agave and DE.