apache/airflow

Import error of new dags cannot be shown on web UI for common users

Open

#29,897 建立於 2023年3月3日

在 GitHub 查看
 (23 留言) (0 反應) (0 負責人)Python (44,809 star) (16,781 fork)batch import
_eol_affected_version:2.6area:coregood first issuekind:bug

描述

Apache Airflow version

2.5.1

What happened

When we put a new dag in airflow and the dag contains some error which cannot be parsed by the airflow scheduler,

  • The common role user is assigned CommRole which has the permission of read Import Error image

  • Expectation: we expect Import Error should be seen in ui by the common user assigned CommRole (controlled by access_control)

  • Result : We cannot see the import error by common Role user(only admin can see it )

  • admin see this: image
  • common user see no dag or import error

What you think should happen instead

No response

How to reproduce

Just use a error new dag which grants the permission to common user not a admin

Operating System

Centos7

Versions of Apache Airflow Providers

2.5.0

Deployment

Docker-Compose

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

貢獻者指南