Skip to content

Conversation

@kyounghunJang
Copy link
Contributor

Align FAB provider with Airflow 3’s FastAPI-first direction and continue removing remaining Connexion/Flask surface.
This PR is a follow-up for issue Replace connexion with fast-api for FAB provider (#56730) by migrating a single endpoint PATCH /auth/fab/v1/roles/{name}.

How

New FastAPI endpoint

Implemented PATCH /auth/fab/v1/roles/{name} on the FAB router with 200 OK on success

Path parameter

name: str — required, validated with min_length=1.

Query Parameter

update_mask - Optional

Service logic

Added patch_role(name: str, body: RoleBody, update_mask: str ) method to FABAuthManagerRoles service class.

Tests

Added route tests for
PATCH /roles/{name}
success (200)
bad request (400)
unauthorized (403)
not found (404)

@vincbeck
Copy link
Contributor

vincbeck commented Nov 7, 2025

Some conflicts as well

@kyounghunJang
Copy link
Contributor Author

Some conflicts as well

@vincbeck
I've resolved the conflicts
Thanks!

@potiuk potiuk merged commit 144b081 into apache:main Nov 16, 2025
78 checks passed
@potiuk
Copy link
Member

potiuk commented Nov 16, 2025

Does it mean we can finally remove connexion as FAB dependency @kyounghunJang ????

👯 ?

@kyounghunJang
Copy link
Contributor Author

kyounghunJang commented Nov 17, 2025

Does it mean we can finally remove connexion as FAB dependency @kyounghunJang ????

👯 ?

@potiuk
The migration for the role-related endpoints is complete, but the user-related endpoints haven’t been migrated yet, so we’ll need to wait a bit longer before removing it.

@potiuk
Copy link
Member

potiuk commented Nov 17, 2025

So ... no 👯 yet :)

@kyounghunJang
Copy link
Contributor Author

@potiuk
Once PR #57480 is completed, I think I’ll be able to work on the remaining parts as well.

aaron-wolmutt pushed a commit to aaron-wolmutt/airflow that referenced this pull request Nov 20, 2025
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants