cds-videos icon indicating copy to clipboard operation
cds-videos copied to clipboard

deposit: ensure that migrated data that are not shown in the deposit form are not overridden on edit/publish

Open zzacharo opened this issue 11 months ago • 2 comments

  • [ ] We need to ensure that the migrated data are not overridden after a user edits/publish a migrated record.
  • [ ] We need to allow only a specific group of people e.g admins to be able to edit all the information put in the _curation field for future reference.

zzacharo avatar May 07 '25 07:05 zzacharo

Would it make sense in this case to make the initial migrated records immutable? Then, if edits are required, perhaps allow only making changes via a delta or overlay system that doesn't overwrite the original?

Br3nnabee avatar May 07 '25 08:05 Br3nnabee

Would it make sense in this case to make the initial migrated records immutable? Then, if edits are required, perhaps allow only making changes via a delta or overlay system that doesn't overwrite the original?

Hey @Br3nnabee ! Yes that's the point, basically the backend to always preserve specific fields that come out of migration. We are using a similar preserver decorator to do that for system added fields.

zzacharo avatar May 15 '25 12:05 zzacharo