Skip to content

Commit

Permalink
Add embargo/unembargo actions
Browse files Browse the repository at this point in the history
  • Loading branch information
waxlamp committed Jan 24, 2024
1 parent 5e7b1e2 commit a13a0ef
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions doc/design/audit-trail-mvp.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,18 @@ The following is the list of actions performed on Dandisets that are considered
"significant" (i.e., require an audit record to be generated), along with any
additional, event-specific data each will carry with it.

| | General data | Specific data |
| --- | --- | --- |
| Create Dandiset | date_time, user_id, dandiset_id | metadata |
| Add owner | date_time, user_id, dandiset_id | owner_id |
| Remove owner | date_time, user_id, dandiset_id | owner_id |
| Update Version metadata | date_time, user_id, dandiset_id | metadata |
| Add asset | date_time, user_id, dandiset_id | asset_path, checksum, metadata, blob_id, asset_id |
| Update asset | date_time, user_id, dandiset_id | asset_path, old_asset_path, checksum, blob_id, metadata, asset_id, old_asset_id |
| Remove asset | date_time, user_id, dandiset_id | asset_path, asset_id |
| Publish Dandiset | date_time, user_id, dandiset_id | version |
| Delete Dandiset | date_time, user_id, dandiset_id | none |
| Action | General data | Specific data |
| --- | --- | --- |
| Create Dandiset | date_time, user_id, dandiset_id | metadata, embargoed |
| Add owner | date_time, user_id, dandiset_id | owner_id |
| Remove owner | date_time, user_id, dandiset_id | owner_id |
| Update Version metadata | date_time, user_id, dandiset_id | metadata |
| Add asset | date_time, user_id, dandiset_id | asset_path, checksum, metadata, blob_id, asset_id |
| Update asset | date_time, user_id, dandiset_id | asset_path, old_asset_path, checksum, blob_id, metadata, asset_id, old_asset_id |
| Remove asset | date_time, user_id, dandiset_id | asset_path, asset_id |
| Unembargo Dandiset | date_time, user_id, dandiset_id | (none) |
| Publish Dandiset | date_time, user_id, dandiset_id | version |
| Delete Dandiset | date_time, user_id, dandiset_id | (none) |

## Asset chain analysis

Expand Down

0 comments on commit a13a0ef

Please sign in to comment.