Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume's project list is empty if not a member of the project #909

Open
ymelnikova opened this issue Aug 22, 2024 · 1 comment
Open

Volume's project list is empty if not a member of the project #909

ymelnikova opened this issue Aug 22, 2024 · 1 comment
Labels

Comments

@ymelnikova
Copy link

Hi team,

I noticed that if I am not a member of a project, when I try to access "projects" field of the volume object, it is empty.
All other data is there.
Referring to this api call : https://biigle.de/doc/api/index.html#api-Volumes-ShowVolumes
image

@mzur
Copy link
Member

mzur commented Aug 22, 2024

I assume that you run your own BIIGLE instance and have an admin account that lets you see the volume? Otherwise you would not be allowed to see the volume at all. Usually, a user can only see the volume if they belong to at least one project to which the volume belongs. Only admins can see volumes of projects they are no member of. As an admin, do you want to see all projects of the volume there? I would be open for a pull request that implements this change.

@mzur mzur added the discuss label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants