forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify _auth_manager_is_authorized_map function (apache#40803)
There's a lot of boilerplate. I extract the duplicate logic for the two main cases out into helper functions. Hopefully makes it a little clearer what's going on.
- Loading branch information
1 parent
ce36eb9
commit ae45d1b
Showing
1 changed file
with
35 additions
and
69 deletions.
There are no files selected for viewing
This file contains 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