Deprecate BackfillDetails and use DagAcccessEntity.Run for backfill p…#61400
Merged
vincbeck merged 6 commits intoapache:mainfrom Feb 4, 2026
Merged
Conversation
pierrejeambrun
commented
Feb 3, 2026
vincbeck
reviewed
Feb 3, 2026
airflow-core/src/airflow/api_fastapi/auth/managers/base_auth_manager.py
Outdated
Show resolved
Hide resolved
airflow-core/src/airflow/api_fastapi/auth/managers/models/resource_details.py
Outdated
Show resolved
Hide resolved
vincbeck
reviewed
Feb 3, 2026
1 task
9ae1916 to
d31bfc6
Compare
vincbeck
approved these changes
Feb 4, 2026
Backport failed to create: v3-1-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker 9b48498 v3-1-testThis should apply the commit to the v3-1-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
pierrejeambrun
added a commit
to astronomer/airflow
that referenced
this pull request
Feb 4, 2026
apache#61400) (cherry picked from commit 9b48498)
1 task
Member
Author
|
Manual backport #61456 |
pierrejeambrun
added a commit
to astronomer/airflow
that referenced
this pull request
Feb 4, 2026
apache#61400) (cherry picked from commit 9b48498)
Alok-kumar-priyadarshi
pushed a commit
to Alok-kumar-priyadarshi/airflow
that referenced
this pull request
Feb 5, 2026
jhgoebbert
pushed a commit
to jhgoebbert/airflow_Owen-CH-Leung
that referenced
this pull request
Feb 8, 2026
Ratasa143
pushed a commit
to Ratasa143/airflow
that referenced
this pull request
Feb 15, 2026
choo121600
pushed a commit
to choo121600/airflow
that referenced
this pull request
Feb 22, 2026
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.
part of #60948
Deprecate
is_authorized_backfillandBackfillDetailsin favor ofDagAccessEntity.Run.Basically this will allow dag access level control on backfills, a backfill is always attached to a Dag, and shouldn't probably have been a sub
DagAccessEntityin the auth model. We chose to simply re-use the existingDagAccessEntity.Runinstead of creating a new one because 'creating a backfill' is basically similar to creating multiple dag runs. (A user withCan create on Dag Runscan simulate a backfill by triggering as many dag runs as needed with the appropriate conf and data).From now on permissions granted on
DagRunswill also allow similar permissions on 'Backfills' of a specific dag id.Note: I plan a follow up PR for the providers.