The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
87ea8acd0c8e7339249bec51908b35e5e3d70129 / Kaxil Naik <[email protected]>
Fix inconsitencies in checking edit permissions for a DAG (#20346)


We were short-circuting permission in the views instead of letting the security 
manager handle that. A user will find it inconsistent as the Graph and other 
views check "per-dag" permissions via 
https://github.com/apache/airflow/blob/174681911f96f17d41a4f560ca08d5e200944f7f/airflow/www/views.py#L579

so if someone uses Custom Security Manager that will end up with user not being 
able to "pause" DAG from individual dag page but would be able to do so from 
Homepage. This PR fixes this inconsistency and gives back this responsibility 
of permissions to security manager instead if Views.

Report URL: https://github.com/apache/airflow/actions/runs/3920348092

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to