punx120 opened a new issue, #32837: URL: https://github.com/apache/airflow/issues/32837
### Apache Airflow version 2.6.3 ### What happened Hi, Starting with 2.6.2 or 2.6.3, DAGs specific permission (e.g `can read on DAG:DAG_NAME) are lost from a role whenever the DAG is updated. It feels like when a dags is refreshed, it first gets deleted from the database which would trigger the permission to be dropped and re-added. Thanks ### What you think should happen instead Permissions should stay the same. ### How to reproduce Create a role with `can read on DAG:DAG_NAME`, refresh the dag, permission is no longer there. ### Operating System linux ### Versions of Apache Airflow Providers apache-airflow-providers-common-sql==1.6.0 apache-airflow-providers-ftp==3.4.2 apache-airflow-providers-github==2.3.1 apache-airflow-providers-http==4.5.0 apache-airflow-providers-imap==3.2.2 apache-airflow-providers-mysql==5.1.1 apache-airflow-providers-sqlite==3.4.2 apache-airflow-providers-ssh==3.7.1 ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
