jedcunningham commented on issue #47412:
URL: https://github.com/apache/airflow/issues/47412#issuecomment-2701959699
It's a little tricky - the auth manager doesn't even define a "string" for
each entity... I guess the string in the method name, e.g. `is_authorized_{x}`
would work though. That's easy enough.
Another wrinkle, the auth manager methods are designed around authz for a
specific entity too. e.g. "a specific" dag, not "dags". So it's possible for
triggering DAG a to be okay, but not DAG b. If we did go from entity level
(dags) to specific entities (a dag), well, we can't just load it once during UI
startup either as that can change over time. Hmm.
(Don't mean to just bring up problems, but want to articulate the challenges
I see so we can find the first balanced answer)
--
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]