Repository navigation
Update FAB Website permissions rows for Airflow 3 views - #74630
Merged
Merged
Conversation
vincbeck
approved these changes
Oct 13, 2026
1 task done
28 of 93 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Website Permissions" table in the FAB auth manager docs still has four rows for Airflow 2 UI features that Airflow 3 does not have. Three other rows describe views that still exist but leave out a permission those views check. This follows #74599, which fixed the Grid and Graph rows in the same table.
Removed rows:
Mark Dag as blocked: this was the Airflow 2/blockedendpoint. Airflow 3 has no such route.Show landing times: in Airflow 2.11 this URL already redirected to the run duration tab of the Grid view. Airflow 3 has no landing times view.Show SLA Misses menuandList SLA Misses: SLAs were removed in Airflow 3.0.0. The UI has no SLA menu item, and nothing checks the SLA Misses resource. The Viewer role still creates the two permissions, but they have no effect.Changed rows, which now also list Dag Runs.can_read:
Show Gantt Chart:/ui/gantt/{dag_id}/{run_id}and the Grid endpoints that the Gantt panel loads check theTASK_INSTANCEandRUNDag access entities.Get Dag as duration graph: the run duration chart on the Dag overview reads/ui/grid/runs/{dag_id}, and the duration chart on the task overview reads the task instances list. Both checkTASK_INSTANCE.Show all tries: the try selector reads/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/tries, which checksTASK_INSTANCE.The FAB auth manager maps
TASK_INSTANCEto both DAG Runs and Task Instances, so these views need Dag Runs.can_read, the same as the Grid row. The note under the table now names these views too, because a Dag-specificDAG Run:permission does not replace Dag Runs.can_read for them either.The Grid routes and the two task tries routes check
TASK_INSTANCEin every release from 3.0.2 to 3.3.2. The Gantt view was rebuilt in 3.1, where it loads the Grid endpoints. The Gantt endpoint itself was added in 3.2.0.This change comes from reading the code on main. It was not tested against a running instance. Other rows that list Task Instances.can_read without Dag Runs.can_read, for example
Get external linksandShow Task Instances, were not reviewed for this change. No newsfragment or changelog entry, because this is a provider docs change.Checks run:
prek run --files providers/fab/docs/auth-manager/access-control.rstpassed in the pre-commit and manual stages, and docutils parsed the table (81 rows, no warnings). The docs build was not run locally.related: #74599
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5.5) following the guidelines
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.