Users API doesn't dump the curation settings
A while ago, we added the curation consent to the user profile: https://gitlab.tuwien.ac.at/fairdata/invenio-config-tuw/-/blob/master/invenio_config_tuw/schemas.py?ref_type=heads#L33
For some reason, this field doesn't show up when looking up users via the REST API:
GET calls to https://researchdata.tuwien.ac.at/api/users/<userid>
shows the preferences
, but that does not contain a curation
key.
Could this have to do with the search mappings?