when i ingest aspects using REST end point, i noti...
# ingestion
b
when i ingest aspects using REST end point, i noticed that mySQL field "createdby" is always populated by urnliprincipal:UNKNOWN is there an attribute add to the MCE to change this? for instance i would like to know who is the person who toggled status.removed to True
This is because I'm trying to create a delete dataset button in UI, but due to lack of graphql understanding, am using a external API to send the status aspect via rest
b
oh man!
i would love to help you contribute something back here ::)
This must be because we cannot resolve a user the request
You can specify the user manually for now by including a special header when making requests to gms
X-DataHub-Actor
Example:
X-DataHub-Actor: urn:li:corpuser:datahub
But it would be ideal to have this in GraphQL!
b
from a user perspective, I thought the delete button would be weird on Datahub UI though, because the moment you press delete, you cant get back to the dataset 😂 once you navigate away (yet its a soft delete! there should be a way to undo this!) still, our users requested for it so 🤷‍♂️
b
Ahh that's a good point. What if we have a separate part of the UI for managing metadata?
Where you could find something and delete it, kind of like Users & Groups
b
That sounds great! But can graphql return deleted datasets for such functionality?