5

I cannot find any information on what the owner variable is used for in the docs. The only mention of owner I found was in this Stack Overflow question and in the Security section of the docs, both of which don't help in understanding the general concept.

1
  • 1
    when you need to blame someone for this DAG, you can find out the owner is a good source. Commented Jun 23, 2021 at 7:32

3 Answers 3

4

As far as I see in the Airflow repository, it's just information. It's shown as a column in the main DAG view in Airflow, and if you click on that name it will show you all the DAGs from that owner (at least in Airflow 2).

Sign up to request clarification or add additional context in comments.

Comments

2

The origins of owner lie in legacy airflow (v1). Basically it was used to denote the user in the linux machine. Then in the pre-RBAC days it could be used to restrict access to dags running only for those owners.

Now that only RBAC is there through user signups, there is no need for owner fields. It only serves a cosmetic purpose (albeit an important one) of identifying the DAG owner

Comments

0

We use this property "owner" instead of "author". It is a developer who is responsible for the logic written in a DAG and who will fix it or do a code-review for new features.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.