jason810496 commented on code in PR #47241:
URL: https://github.com/apache/airflow/pull/47241#discussion_r1976424229


##########
airflow/api_fastapi/core_api/security.py:
##########
@@ -82,6 +82,23 @@ def callback():
     return inner
 
 
+def requires_access_asset_alias(method: ResourceMethod) -> Callable:

Review Comment:
   Looks good to me.
    I thought we could leverage `requires_access_asset` but `AssetsAlias` have 
its own model and id, so `requires_access_asset_alias`  and  
`AssetAliasDetails` are required I think.



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