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

Unable to get detections from outside own receiver network #277

Open
PietrH opened this issue Mar 2, 2023 · 7 comments
Open

Unable to get detections from outside own receiver network #277

PietrH opened this issue Mar 2, 2023 · 7 comments
Labels
bug Something isn't working database Related to ETN database question Further information is requested

Comments

@PietrH
Copy link
Member

PietrH commented Mar 2, 2023

Summary of a reported issue from an email thread on the 2nd of March 2023: @jreubens , @cfmuniz, and others.

  • The position of active receivers should always be public.
  • The detection info (including position) of animals is visible for everyone with rights to the animal-project (because they tagged the animal) , and for everyone with rights to the receiver-project (because they maintain the receiver).

Marine Gonse reports:

However I still don't understand how the right access function. I work on the Fish Intel project and one of our tagged seabass was detected by one of Fishowf receiver in Saint-Nazaire (someone from the fishowf project told me that). But when I request the detections of this fish using get_acoustic_detections(animal_project_code = "FISHINTEL", con=con), I can't see the detections of this fish when I filter the acoustic_tag_id == "OPI-602". Does the Fishowf project has particular right access?

Francisco Hernandez:

I can’t find any detections of OPI-602 in any project.

However, there should be 6 detections for that tag :

etn::get_acoustic_detections(etn::connect_to_etn(), acoustic_tag_id = 'OPI-602')

According to @jreubens this might be because currently users can only detect detections from their own receiver networks, if this is the case this would be a bug as the intention is that users can retreive detections for their own projects from any receiver network.

Another explination could be that Fransisco and Marine possibly do not have sufficient rights to OPI-602

These user limits are regulated on the database side. Do I understand this correctly @salvafern ?

@PietrH PietrH added bug Something isn't working question Further information is requested database Related to ETN database labels Mar 2, 2023
@salvafern
Copy link
Collaborator

salvafern commented Mar 2, 2023

No idea honestly - I'm not the admin of the ETN database @bart-v and Francisco Hernandez should know more

@PietrH
Copy link
Member Author

PietrH commented Mar 2, 2023

Whoops, thanks for the reference!

@jreubens
Copy link
Collaborator

jreubens commented Mar 3, 2023

Hi, Marine should have sufficient rights. She has access to FISHINTEL and as teh tag belongs to that project she should see all detections of that tag...

@MarineRandon
Copy link

Hi everyone, I am not able to visualize this fish from neither the RStudio server nor the Lifewatch data explorer. There is definitely an issue here. Thank you for your help.

@CLAUMEMO
Copy link

CLAUMEMO commented Oct 24, 2023

Hi,
I had raised this issue with Aubri on 2023-01-20, because I was not sure if it was a package issue or a database issue. His answer:

Issue in the R package, i've send a message to peter
7958d31

Can this be checked soon?

@PietrH
Copy link
Member Author

PietrH commented Oct 24, 2023

Thanks for digging that up Claudia, I'll look into it this week and see if I can estimate when it'll be fixed. It's on my radar! At the moment I don't really understand how the tag type mapping can stop certain detections from showing up.

Do you have any more information?

@peterdesmet Any insight would be highly appreciated :)

@CLAUMEMO
Copy link

I also don't see how the tag type can affect this.
Testing, I do get different number of detentions depending on the levels of permissions i assign myself. Can we arrange a meeting for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working database Related to ETN database question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants