Skip to content

Set embargoedUntil to actual unembargo timestamp upon status transition#2729

Draft
yarikoptic wants to merge 1 commit intomasterfrom
bf-1286-embargoedUntil
Draft

Set embargoedUntil to actual unembargo timestamp upon status transition#2729
yarikoptic wants to merge 1 commit intomasterfrom
bf-1286-embargoedUntil

Conversation

@yarikoptic
Copy link
Copy Markdown
Member

@yarikoptic yarikoptic commented Mar 12, 2026

When a dandiset transitions from EmbargoedAccess to OpenAccess, record the actual unembargo timestamp in the embargoedUntil field, replacing the original embargo end date.

The logic is in Version._populate_access_metadata() which detects the status transition and sets the timestamp at that point.

See

TODOs

  • when CI passes, take out of the draft and seek blessing

Fixes #1286

When a dandiset transitions from EmbargoedAccess to OpenAccess,
record the actual unembargo timestamp in the embargoedUntil field,
replacing the original embargo end date.

The logic is in Version._populate_access_metadata() which detects
the status transition and sets the timestamp at that point.

See dandi/dandi-schema#143 for field semantics.

Co-Authored-By: Claude Code 2.1.63 / Claude Opus 4.6 <noreply@anthropic.com>
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.

upon unembargo set embargoedUntil

1 participant