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

   > I was thinking that the call would happen after login. So, the user 
authenticates, the /ui/auth/meta/permissions API is called, then an 
authorization object persisted to local storage.
   
   We cannot do that. Because there is no 'global' permissions object to return 
to the UI and store. We cannot possibly enumerate all that for every fine 
grained entity permissions. 
   
   Check for permissions needs to be requested to the backend, ad hoc for 
specific operations, when necessary. As mentioned above only for tactical 
workflows, not everything. (typically not for table views).
   
   +1 for a single endpoint and capabilities to ask multiples permissions at 
once. 


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