wolfier commented on issue #29897: URL: https://github.com/apache/airflow/issues/29897#issuecomment-2261449407
> So if the DAG hasn't been uploaded yet, and it gets an ImportError Do you mean if the DAG is present in the directory configured to be the dags folder but has never been successfully parsed? If that is the case, the DAG would never have been inserted in the `dags` table. The insertion only happens after a DagFileProcessorProcess has successfully parsed the file. Even if the permission is created somehow or had existed before, if the DAG is not in the `dags` table, those permissions are meaningless. --- I am able to replicate the behaviour only after truncating the `dag` table or deleting the entry of the associated DAG with the import error. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org