Replies: 9 comments
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
In manual jobs there is a specific user who triggered it - that doesn't exist for scheduled jobs. |
Beta Was this translation helpful? Give feedback.
-
I'm looking for the manual jobs actually, currently, we can pass the info through the 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 |
Beta Was this translation helpful? Give feedback.
-
e.g., i could define a BashOperator that login to a web server, in which all the credentials are managed by connections for sure. but it would also be nice to tell the web server that who triggered the job manually if that happened |
Beta Was this translation helpful? Give feedback.
-
Not commenting on whether this is a good idea or not, IMO a scheduled job could be categorised under either the DAG owner (since they scheduled the DAG) or |
Beta Was this translation helpful? Give feedback.
-
maybe let me re-state the feature: allow the user to customize the default |
Beta Was this translation helpful? Give feedback.
-
You can listen on |
Beta Was this translation helpful? Give feedback.
-
i'm not sure i follow, how would the plugin pass on the |
Beta Was this translation helpful? Give feedback.
-
Hi, I want to ask which variable/what kind of method can I use to get this specific user when manual trigger happens? |
Beta Was this translation helpful? Give feedback.
-
Description
It would be very useful if we can pass triggering user information to DAG. So that we can bring over the info to the downstream system for security auditing purpose
Use case / motivation
Expose some macro in the DAG, so user can use the trigger user info at will
Are you willing to submit a PR?
If someone can point me in the right direction
Related Issues
No
Beta Was this translation helpful? Give feedback.
All reactions