Replies: 2 comments
-
|
Yes, if you are using the FAB auth manager. DAG-level roles are still documented for Airflow 3. The current model is resource/action based. A user can get broad permissions such as The usual setup is:
You can also put DAG-level access in code with the DAG's |
Beta Was this translation helpful? Give feedback.
-
|
Hi @Emile1917! DAG-level access control changed significantly in Airflow 3.x with the removal of FAB (Flask-AppBuilder) as the default auth manager. What changed from Airflow 2.x: In Airflow 2.8 and below, DAG-level permissions were managed through FAB roles using permissions like can_read on DAG:my_dag_id. In Airflow 3.x, FAB is no longer the default — SimpleAuthManager is the new default, and it does not support DAG-level roles natively. Options in Airflow 3.2.0: Option 1: Use the API with asset-based access (native 3.x approach) Airflow 3.x is moving toward a new access model. Currently, SimpleAuthManager supports only admin/viewer-level roles globally. Option 2: Re-enable FabAuthManager (backwards compatible) If you need DAG-level roles like in 2.x, you can explicitly use FabAuthManager: ini airflow.cfg[core] Then DAG-level permissions work as before: can_read on DAG:specific_dag_id → read-only access to that DAG Prerequisites for FabAuthManager in 3.2.0: apache-airflow-providers-fab >= 2.0.0 Let me know if you need help setting up FabAuthManager! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone , I would like to know if there is anyway to create Dag-levels Roles on Aiflow 3.2.0 as it was on 2.8.x and lower versions ? If yes , what are the prerequisites and requirements?
Beta Was this translation helpful? Give feedback.
All reactions