GitHub user keemgdeok added a comment to the discussion: Users unable to view Graph for a particular Dag
DAG read access alone may not be enough. In Airflow 3.1.8, the [graph data endpoint](https://github.com/apache/airflow/blob/3.1.8/airflow-core/src/airflow/api_fastapi/core_api/routes/ui/structure.py#L43-L50) also checks DAG dependencies and task-instance access. [FAB maps task-instance access](https://github.com/apache/airflow/blob/3.1.8/providers/fab/src/airflow/providers/fab/auth_manager/fab_auth_manager.py#L133-L144) to both DAG Runs and Task Instances. Check that the affected user's role has `can_read` on: - `DAG:<dag_id>` (or `DAGs` for access to all DAGs) - `DAG Dependencies` - `DAG Runs` - `Task Instances` As that user, open DevTools → Network, reload the DAG page, and check the `structure_data` request. A 403 there would support missing permissions as the cause. Add any missing permissions to the role, sign in again, and retry the same DAG. If it still fails, share the installed FAB provider version, the failing request URL/status, and the role's relevant permissions. If no request fails, mention that too. GitHub link: https://github.com/apache/airflow/discussions/74563#discussioncomment-18882138 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
