Skip to content

Conversation

@rawwar
Copy link
Contributor

@rawwar rawwar commented Apr 23, 2025

closes #49453

@vincbeck
Copy link
Contributor

I like the idea!

Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the approach, looks good to me.

Copy link
Contributor

@bugraoz93 bugraoz93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@bugraoz93
Copy link
Contributor

Thanks Kalyan!

Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thanks, a few nits

@rawwar rawwar requested review from ashb and pierrejeambrun April 24, 2025 15:32
@pierrejeambrun pierrejeambrun added type:bug-fix Changelog: Bug Fixes changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) and removed type:bug-fix Changelog: Bug Fixes labels Apr 24, 2025
@pierrejeambrun pierrejeambrun added this to the Airflow 3.0.1 milestone Apr 24, 2025
@pierrejeambrun pierrejeambrun added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label Apr 24, 2025
@pierrejeambrun pierrejeambrun merged commit 003bf6d into apache:main Apr 24, 2025
101 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 24, 2025
…uth header in request (#49599)

* add SimpleAllAdminMiddleware

* add tests

* update test

* update test name

* refactor test

* sort test order

* hardcode endpoints

* use session

* db_test mark

* iterate over app.routes

* use fewer endpoints

* update comment

* update scope
(cherry picked from commit 003bf6d)

Co-authored-by: Kalyan R <kalyan.ben10@live.com>
@github-actions
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

@pierrejeambrun pierrejeambrun changed the title add SimpleAllAdminMiddleware to allow api usage without auth header in request Add SimpleAllAdminMiddleware to allow api usage without auth header in request Apr 24, 2025
@rawwar rawwar deleted the kalyan/auth/sam/all_admin_allow_api_calls branch April 24, 2025 17:24
pierrejeambrun pushed a commit that referenced this pull request Apr 24, 2025
…uth header in request (#49599) (#49743)

* add SimpleAllAdminMiddleware

* add tests

* update test

* update test name

* refactor test

* sort test order

* hardcode endpoints

* use session

* db_test mark

* iterate over app.routes

* use fewer endpoints

* update comment

* update scope
(cherry picked from commit 003bf6d)

Co-authored-by: Kalyan R <kalyan.ben10@live.com>
kaxil pushed a commit that referenced this pull request Apr 24, 2025
…n request (#49599) (#49743)

* add SimpleAllAdminMiddleware

* add tests

* update test

* update test name

* refactor test

* sort test order

* hardcode endpoints

* use session

* db_test mark

* iterate over app.routes

* use fewer endpoints

* update comment

* update scope
(cherry picked from commit 003bf6d)

Co-authored-by: Kalyan R <kalyan.ben10@live.com>
prabhusneha pushed a commit to astronomer/airflow that referenced this pull request Apr 25, 2025
…n request (apache#49599)

* add SimpleAllAdminMiddleware

* add tests

* update test

* update test name

* refactor test

* sort test order

* hardcode endpoints

* use session

* db_test mark

* iterate over app.routes

* use fewer endpoints

* update comment

* update scope
jroachgolf84 pushed a commit to jroachgolf84/airflow that referenced this pull request Apr 30, 2025
…n request (apache#49599)

* add SimpleAllAdminMiddleware

* add tests

* update test

* update test name

* refactor test

* sort test order

* hardcode endpoints

* use session

* db_test mark

* iterate over app.routes

* use fewer endpoints

* update comment

* update scope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Swagger gives 401 unauthenticated with SimpleAuthManager

5 participants