yupbank commented on issue #16373: URL: https://github.com/apache/airflow/issues/16373#issuecomment-858756411
I'm looking for the manual jobs actually, currently, we can pass the info through the `dag_run.conf` in `cli` use case. but the web UI `dag_run.conf` is a bit complicated. I'm wondering if it makes sense to add some `current_user` field in the default conf https://github.com/apache/airflow/blob/main/airflow/www/views.py#L1490 here something like `default_conf=json.dumps(dict(current_user=current_user.user.username))` it would be amazing if a default default_conf can be configured for all CLI and web UI submissions. Since airflow would perform checks on the triggering user anyway. why not pass it in to the DAG so default_conf actually have some default info -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
