vincbeck commented on issue #53936: URL: https://github.com/apache/airflow/issues/53936#issuecomment-3151971207
> > Maybe a comment explaining why would suffice? > > Copy pasting a comment to all the `list` endpoints? I think it's not ideal, I would have to take a look but maybe we can find a different solution? For now, only the dag related APIs are concerned because Dag is the only resource having fine grained access on list thanks to `get_authorized_dag_ids` provided by the auth manager. I plan to extend it to other resources such as variables, connections etc. I am happy if you have a better solution but I do not think copy pasting is an issue. Today if you create a new API endpoint by copy pasting an existing one, you already need to update the authorization access `requires_access_<>` -- 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]
