Skip to content

[BI-3048] - Exp Collaborator FB Endpoints: /germplasm - #558

Draft
HMS17 wants to merge 1 commit into
developfrom
bug/BI-3048
Draft

HMS17 wants to merge 1 commit into
developfrom
bug/BI-3048

Conversation

@HMS17

@HMS17 HMS17 commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Story: BI-3048 - Exp Collaborator FB Endpoints: /germplasm

NOTE: ON HOLD

To enable experimental collaborators who are not system administrators to import fields in FieldBook, four endpoints must be made available to experimental collaborators while still limiting data to data related to experiments shared with the collaborator.

This card addresses the GET /germplasm endpoint, including making the endpoint accessible to experimental collaborators and retrieving no data when the user is an experimental collaborator. This is because the GET /germplasm endpoint is called when FieldBook loads a field, but it isn't necessary for loading a field and isn't data viewable to experimental collaborators on DeltaBreed anyway. It may be possible that in the future it could be swapped for a filter.

Dependencies

bi-web: develop
For FieldBook testing of importing fields as Experimental Collaborator, need BI-3049, BI-3050, and BI-3051 implemented

Testing

Only endpoint can be tested until BI-3049, BI-3050, and BI-3051 implemented
Experimental collaborators should be able to call GET /germplasm, but not retrieve any data

Note that when all cards implemented there will be a slight change in DeltaBreed behavior as well as enable FieldBook loading of data for experimental collaborators. Namely previously an experimental collaborator who is also a system administrator could view all germplasm in a program, whereas after this change no germplasm would display. (todo could maybe change this, but also discussion to be had re trials/experiments which also filters)

Checklist:

  • I have performed a self-review of my own code
  • I have tested my code and ensured it meets the acceptance criteria of the story
  • I have create/modified unit and/or integration tests to cover this change or tests are not applicable
  • I have commented my code, particularly in hard-to-understand areas
  • I have either updated the source of truth or arranged for update with product owner if needed https://breedinginsight.atlassian.net/wiki/spaces/BI/pages/1559953409/Source+of+Truth

@github-actions github-actions Bot added the bug Something isn't working label Sep 21, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant