GitHub user zach-overflow added a comment to the discussion: Migration help: 
CustomSecurityManager → New Authorization Standard Definitions

So the new security classes such as `ResourceMethod` and the various classes 
defined within the `resource_details` module are relevant for the `AuthManager` 
interface, which is different from FAB's `SecurityManager` concept. I'm going 
to work off the assumption that you are running Airflow version `3.x`, in which 
case, I would definitely recommend reading through these prior issues to get an 
idea of the distinction, and how you might migrate to the `AuthManager` setup:

1. [This very helpful 
comment](https://github.com/apache/airflow/issues/51362#issuecomment-2950258585)
 clarifying the differences between the auth components in `airflow-core`, vs 
the auth concepts specific to only FAB. 
2. [This thread](https://github.com/apache/airflow/issues/51971), which goes 
into more details about the authmanager and the authorization standard 
definitions. 

As for how you replace the old code, I can't really give a definitive answer 
since each custom setup will be quite different. The best I can suggest is to 
read through the two links I shared  above, and then take a look at some of the 
current `AuthManager` implementations in `airflow-core` and in `providers` to 
get an idea of how auth logic is handled in those.

GitHub link: 
https://github.com/apache/airflow/discussions/57429#discussioncomment-15046967

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to