pierrejeambrun commented on issue #57966:
URL: https://github.com/apache/airflow/issues/57966#issuecomment-3580451957

   > Generic batch authorize method support for BaseAuthManger and also for 
each providers
   It seems we need to introduce a generic batch_is_authorized_entites on Auth 
Manager side to avoid the N+1 query or API call probelm, as the new meta 
permission endpoint will be dedicate UI route that will be called for every 
page,
   
   In practice we won't ever use particular one because it's not used to 
protect any routes, but I get the idea. We might have the issue with stuff like 
`requires_access_connection_bulk`. And we will not use it.
   
   Maybe we just put this new API in the `/ui` part so we can refine it and 
stabilize it. Until we're able to handle 'all' permissions efficiently.


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