-
Notifications
You must be signed in to change notification settings - Fork 2
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
Restrict RHS compound set visibility by target AND target access string #1552
Comments
@matej-vavrek adding TAS to filter fields is not a problem, but even without it, the backend should not return data from other proposals. This is possibly more a backend issue than a frontend. |
Looking at this issue a bit more closely, @matej-vavrek why do you need to look up target here? I can of course add additional fields to filters if that makes anyone's life more comfortable. |
When debugging this, something I observed when uploading the same compound set to multiple targets - if the set name was the same, no new compound set was created but later uploads overwrote earlier ones. That's because the compound set's name is at the moment unique and used as the primary key in the database. @mwinokan can you confirm that now that targets can exist under multiple proposals, this is not the correct behaviour anymore and the same compound set can be uploaded to different targets creating separate compound sets? Or have I misunderstood this? |
Thanks @kaliif, indeed the same target name under different proposals should be treated as a separate project with its own compound sets, etc. I noticed that the same kind of issue exists with SiteObservationTags, but I concluded that this was actually a useful behaviour |
I am not sure if I understand correctly @kaliif. When is some target choosed from the target list at the main page we get that target and then it loads the other data. Edit: we are fetching from |
E.g. currently in staging there are two versions of
A71EV2A
, and one underlb32627-66
and the other underlb32627-71
.I uploaded a RHS dataset to
lb32627-66
but it also shows up underlb32627-71
:@matej-vavrek can you please check that the f/e requests only the compound sets with the correct target name AND target access string/proposal?
The text was updated successfully, but these errors were encountered: