justinpakzad commented on code in PR #69764:
URL: https://github.com/apache/airflow/pull/69764#discussion_r3567175823


##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/asset_state_store.py:
##########
@@ -106,14 +101,51 @@ def _resolve_asset_id_by_uri(uri: str, session: 
SessionDep) -> int:
     return asset_id
 
 
+def _authorize_asset_state_store_access(

Review Comment:
   Do you think it would make sense to declare this as a dependency 
(`dependencies=[...]`)  instead of manually calling it in each handler? That 
seems to be the pattern across some of the routes (e.g., `has_xcom_access()`,` 
has_variable_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]

Reply via email to