Enable user context ingestion
Type of change
-
Bug Fix -
Feature
Does this introduce a change in the core logic?
-
Yes
Does this introduce a change in the cloud provider implementation, if so which cloud?
-
Common Code
Description
Enhancement to data ingestion process, as described in the ADR. This update focuses on optimizing user identification and authorization within system, resulting in a more streamlined and secure data ingestion.
As per the ADR, one of the key changes involves consuming the userId passed from Airflow Conf. This enhancement allows to associate data ingestion activities with specific users, enabling better tracking and access control. Implemented the on-behalf-of
header.
Related MR - osdu/platform/system/lib/core/os-core-common!165 (merged)
UserId is an optional requirement, and we can pass the user information using x-on-behalf-of header.
Edited by Jayesh Bagul