vincbeck commented on code in PR #42019:
URL: https://github.com/apache/airflow/pull/42019#discussion_r1745874973
##########
airflow/api_ui/app.py:
##########
@@ -32,17 +38,35 @@ def init_dag_bag(app: FastAPI) -> None:
app.state.dag_bag = get_dag_bag()
-def create_app() -> FastAPI:
+def init_flask_app(app: FastAPI, testing: bool = False) -> None:
+ """
+ Auth providers and permission logic are tightly coupled to Flask.
Review Comment:
> Also are we able to load users from the db and have a real auth workflow
as we have now with basic_auth (permissions granted etc...) For developing
airflow 3 front-end if we have something closer to the real auth workflow it
might be easier.
No. Simple auth manager does not use the DB, everything is stored in the
config. Besides that, there is a real workflow etc, you would be able to use
different users (as long as they are defined in the config)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]