Skip to content

Fix audit must-fixes: public donor fields, delete-before-write, index write routes, timeouts - #1052

Merged
yuanzhou merged 1 commit into
dev-integratefrom
nickakhmetov/audit-must-fixes
Oct 27, 2026
Merged

yuanzhou merged 1 commit into
dev-integratefrom
nickakhmetov/audit-must-fixes

Conversation

@NickAkhmetov

Copy link
Copy Markdown
Contributor
  • Exclude private Donor fields under "donors" for Samples, Datasets and Publications, and add the donor/origin_samples/source_samples rules for Publications.
  • Stop deleting a document before writing its replacement, and raise when a write is rejected instead of logging and continuing.
  • Reject PUT /update and POST /add for every index except 'files'.
  • Add timeouts to every requests call, and fetch the provenance schema and organ types once per process.

… write routes, timeouts

- Exclude private Donor fields under "donors" for Samples, Datasets and
  Publications, and add the donor/origin_samples/source_samples rules
  for Publications.
- Stop deleting a document before writing its replacement, and raise
  when a write is rejected instead of logging and continuing.
- Reject PUT /update and POST /add for every index except 'files'.
- Add timeouts to every requests call, and fetch the provenance schema
  and organ types once per process.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@NickAkhmetov
NickAkhmetov changed the base branch from main to dev-integrate October 26, 2026 15:15

@yuanzhou yuanzhou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NickAkhmetov Thanks for discovering these issues and addressing them via this PR.

@yuanzhou
yuanzhou merged commit c733388 into dev-integrate Oct 27, 2026
4 checks passed
@yuanzhou
yuanzhou deleted the nickakhmetov/audit-must-fixes branch October 30, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants