UtrechtUniversity / yoda

A system for reliable, long-term storing and archiving large amounts of research data during all stages of a study.
https://utrechtuniversity.github.io/yoda/
GNU General Public License v3.0
44 stars 26 forks source link

[BUG] Files in the research folders display as links #372

Closed yoda-eur closed 7 months ago

yoda-eur commented 7 months ago

Is there an existing issue for this?

Current Behavior

The files in the research folders are now displayed as links and are clickable, leading to an error when clicked.

Expected Behavior

Should not be clickable

Steps To Reproduce

On the Yoda website, clicking a file in one of the research folders.

Environment

- Yoda: v1.9
- Ansible:?
- Operating System: Windows
- Browser: every browser

Anything else?

files-show-as-link-and-are-clickable result-after-clicking-file
Danny-dK commented 7 months ago

Note that clickable files is not the bug here. The Yoda devs have worked to make certain files be viewable in the web portal. These files usually are image, video, or text based files (this was a longstanding feature request). Therefore, files that are viewable are clickable. Some files are just too large to be viewed in the webportal (leading to that message) or some file that are not large do still elicit an error (meaning a possible bug in this new file viewer).

fiberbit commented 7 months ago

Another possibility might be that your user is of "rodsadmin" type? These users "see" all files and folders in listings but certainly do not have automatic "read" permission on the contents of data objects, unless they were added specifically. The error message in that case is a bit confusing perhaps.

lwesterhof commented 7 months ago

I have just confirmed with SURF that this instance is still on rc.6. This will be fixed when upgraded to v1.9.0.

fiberbit commented 7 months ago

Just a small note that as a rodsadmin user I see exactly this behaviour still on v1.9.0 but hopefully for "normal" users it is fixed indeed.

yoda-eur commented 7 months ago

Thank you all for replying.

@Lazlo, good to know this will be fixed in v1.9.0. I was testing in the acceptance 1.9 environment of Yoda. That one is not showing Yoda v1.9.0-rc.6, like it do in our production environment.