Skip to content

Fix audit must-fixes: public donor fields, delete-before-write, index… - #1053

Merged
yuanzhou merged 1 commit into
mainfrom
nickakhmetov/audit-must-fixes
Oct 29, 2026
Merged

yuanzhou merged 1 commit into
mainfrom
nickakhmetov/audit-must-fixes

Conversation

@yuanzhou

Copy link
Copy Markdown
Member

Following merged PR #1052 for TEST

… 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>
@yuanzhou
yuanzhou marked this pull request as ready for review October 29, 2026 13:01
@yuanzhou
yuanzhou merged commit 1f3d8d1 into main Oct 29, 2026
7 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