Airflow: FILTER_BY_ONWER does not work for multi-owner dags

Created on 10 Jun 2020  路  7Comments  路  Source: apache/airflow

Apache Airflow version:
1.10

Kubernetes version (if you are using kubernetes) (use kubectl version):

Environment:

  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

What happened:
owner field of dags owner1, owner2, owner3
owner1 can not see the dag

https://github.com/apache/airflow/blob/v1-10-stable/airflow/www/views.py#L2271

bug

All 7 comments

Thanks for opening your first issue here! Be sure to follow the issue template!

https://github.com/apache/airflow/commit/843a22f74c01612b1858c69b86d0eb5b1cc89a38
^^ there was a commit to fix this issue, but somehow missing in 1.10

can anyone apply the fix 843a22f to next release like 1.11 ?

probably @kaxil can

That commit is 4 years old :D so something else might have reverted back that behaviour.

I will mark it for 1.10.12

@kaxil Thanks for helping. I create another relevant issue
https://github.com/apache/airflow/issues/9711

We have deprecated the old UI and from Airflow 2.0.0 the new RBAC UI will be the default UI. Hence all the changes to old UI have been freezer. Please use the RBAC UI -- https://airflow.apache.org/blog/airflow-1.10.12/#use-airflow-rbac-ui

The RBAC UI has lot of security benefits and DAG level access control too. Apologies again

Was this page helpful?
0 / 5 - 0 ratings