apache/airflow

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

Open

#29 897 ouverte le 3 mars 2023

Voir sur GitHub
 (23 commentaires) (0 réactions) (0 assignés)Python (16 781 forks)batch import
_eol_affected_version:2.6area:coregood first issuekind:bug

Métriques du dépôt

Stars
 (44 809 stars)
Métriques de merge PR
 (Merge moyen 7j 18h) (834 PRs mergées en 30 j)

Description

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

Guide contributeur