-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Fix inheritance chain in security manager #33901
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
962870f
Fix inheritance chain in security manager
vandonr-amz a8818c0
keep backcompat + add obsolete warning
vandonr-amz 531824b
fix build/static checks
vandonr-amz 9b0b0c4
rename moved SecurityManager to differentiate it from the obsolete class
vandonr-amz 54d1857
fix class checking
vandonr-amz 3884c86
put all FAB security manager code in one file
vandonr-amz 7f1f186
fix imports to use V2
vandonr-amz 44abbce
fix import in mock
vandonr-amz 1ac0955
modify examples in doc to match new "recommendation"
vandonr-amz f337b2b
fix refs in doc
vandonr-amz c32e4f0
fix test by simplifying it
vandonr-amz 717ac2b
fix mock (again)
vandonr-amz a2b83aa
Merge branch 'main' into vandonr/fab
vandonr-amz 79b2879
fix static check
vandonr-amz 7f9dde5
Merge branch 'main' into vandonr/fab
vandonr-amz 606e5f7
move logic to get security manager class to auth manager
vandonr-amz 1bec1ef
Merge remote-tracking branch 'apache/main' into vandonr/fab
vandonr-amz 3e44211
fix tests
vandonr-amz 3d62d71
return generic security manager in base
vandonr-amz e4caf25
Merge remote-tracking branch 'apache/main' into vandonr/fab
vandonr-amz 6d3ba00
Merge branch 'main' into vandonr/fab
vandonr-amz e598bf5
fix test
vandonr-amz 435bf52
add type annotation on init
vandonr-amz 98f987d
Merge remote-tracking branch 'apache/main' into vandonr/fab
vandonr-amz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
17 changes: 0 additions & 17 deletions
17
airflow/auth/managers/fab/security_manager/modules/__init__.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Since on the long term we will deprecate
AirflowSecurityManagerin favor ofAirflowSecurityManagerV2I am wondering ifAirflowSecurityManagerV2is a good name since this name will stay. Should we keep the nameAirflowSecurityManager? It can confusing but we can assume this is only temporary? Or should we come up with another name?SimplifiedAirflowSecurityManager? I dont like it either xD.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.
temporary things still stay around for a pretty long time to give users time to migrate...
Idk, I'm open to suggestions, but we can always rename it once we remove the old one.