-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Remove auth backends from core Airflow #47399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
eb33142 to
39914ba
Compare
|
Don't forget the config option too: airflow/airflow/config_templates/config.yml Line 1376 in aa24dab
|
That also has a test. Just to point out :) airflow/tests/core/test_configuration.py Line 617 in 3a300c9
While checking, I saw this one 😕 I will create a small PR for fixing the syntax (indentation). airflow/tests/core/test_configuration.py Lines 642 to 646 in 3a300c9
|
39914ba to
062e1cb
Compare
vincbeck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR updated
a66d256 to
27a66f3
Compare
|
We actually need to keep the config. APIs provided by the FAB auth manager (such as users, roles, ...) need the auth backends. These APIs have not been migrated to fastapi and are still using Flask. Therefore, they need the auth backends. I updated the config description to reflect that. |
27a66f3 to
fdff271
Compare
|
However, we probably should move the config to FAB provider then? Edit: I moved it. |
c670c7c to
676f387
Compare
|
Test failures are not related to this PR, finally all tests are passing! Reviews are welcome :) |
676f387 to
6b4ed42
Compare
6b4ed42 to
7011715
Compare
|
Error unrelated to this PR. Merging |
Some recent changes in main and documentation published in the inventories, made the 2.10 doc building fail as references to non-existing docs in the new inventories were still used in the documentation for 2.10 This PR fixes it by changing the docs to not refer to those changed docs any more. The PRs that removed the links: apache#47320 and apache#47399 Co-authored-by: LIU ZHE YOU <zhu424.dev@gmail.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Some recent changes in main and documentation published in the inventories, made the 2.10 doc building fail as references to non-existing docs in the new inventories were still used in the documentation for 2.10 This PR fixes it by changing the docs to not refer to those changed docs any more. The PRs that removed the links: apache#47320 and apache#47399 Co-authored-by: LIU ZHE YOU <zhu424.dev@gmail.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Some recent changes in main and documentation published in the inventories, made the 2.10 doc building fail as references to non-existing docs in the new inventories were still used in the documentation for 2.10 This PR fixes it by changing the docs to not refer to those changed docs any more. The PRs that removed the links: apache#47320 and apache#47399 Co-authored-by: LIU ZHE YOU <zhu424.dev@gmail.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Some recent changes in main and documentation published in the inventories, made the 2.10 doc building fail as references to non-existing docs in the new inventories were still used in the documentation for 2.10 This PR fixes it by changing the docs to not refer to those changed docs any more. The PRs that removed the links: #47320 and #47399 Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Auth backends are non longer used in Airflow 3. We should remove them. This also help to remove Flask from core Airflow.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.