aaron-wolmutt commented on PR #58292:
URL: https://github.com/apache/airflow/pull/58292#issuecomment-3573467404

   > I do not think we should do that. As already mentioned by Jarek, there is 
no notion of roles, permissions, active or any auth related attributes in 
Airflow. Everything is delegated to the auth manager. Everytime a user performs 
an action in Airflow through the API (directly or through the UI), Airflow asks 
the auth manager configured in the environment: "Is this user authorized to 
perform such action". But there is no way to retrieve the list of roles of 
permissions because, again, these do not exist in Airflow. If you really want 
such API, you should implement them as part of the auth manager. Such API in 
FAB auth manager, for instance, would make more sense. But if you do that, we 
should wonder what is this API for? If the intent is to use it in Airflow, then 
that's wrong
   
   Hey guys I worked on this branch this afternoon and tried to narrow down the 
scope of the pull request.


-- 
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]

Reply via email to