udata icon indicating copy to clipboard operation
udata copied to clipboard

Add protected extras

Open maudetes opened this issue 2 years ago • 1 comments

First part of https://github.com/etalab/data.gouv.fr/issues/838.

Questions and TODOs

  • [ ] resource protected extras route needs dataset id -> but not always available
  • [ ] how to register additionnal extras (used in plugins for example)
  • [ ] add protected_extras to serialize in dataset/events.py and search
  • [ ] should we add protected_extras on discussions, users and orga ?
  • [ ] move all to Harvest (remote_url, dct:identifier, etc..) ?
  • [ ] what about linkchecker extras ?
  • [ ] what about csv-export:model ?

maudetes avatar Jun 23 '22 08:06 maudetes

Extra thought: since we're using HATEOAS, maybe we don't even need an embedded document and can use a full-fledged Document? It it helps making the code more readable, obviously.

abulte avatar Jun 24 '22 09:06 abulte

Has been treated in https://github.com/opendatateam/udata/pull/2762

maudetes avatar Mar 06 '23 13:03 maudetes