jason810496 commented on issue #57966:
URL: https://github.com/apache/airflow/issues/57966#issuecomment-3584355482
> I do not think we should call this endpoint to figure whether the user is
allowed to trigger each individual dag, but we could call it when the user
click on the trigger button (before displaying the pop up)
Good call! Yes, this will be a great way to avoid the N+1 call I mentioned
above. Maybe the RestAPI could be like `GET
/ui/auth/meta/method/{method}/access_entity/{access_entity}/{entity_id}` (or
`POST /ui/auth/meta` if we want to shorten the endpoint) for curret fearure? I
just check that `DetailsLayout` _might_ be the correct place to called the new
meta endpoint.
--
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]