Lee-W commented on code in PR #54043:
URL: https://github.com/apache/airflow/pull/54043#discussion_r2251123026


##########
providers/fab/src/airflow/providers/fab/auth_manager/fab_auth_manager.py:
##########
@@ -85,6 +85,7 @@
     RESOURCE_DAG_VERSION,
     RESOURCE_DAG_WARNING,
     RESOURCE_DOCS,
+    RESOURCE_HITL_DETAIL,

Review Comment:
   We'll need a check block to import it and add it to 
`_MAP_DAG_ACCESS_ENTITY_TO_FAB_RESOURCE_TYPE`
   
   something similar to
   
   ```python
   if AIRFLOW_V_3_1_PLUS:
       from airflow.providers.fab.www.security.permissions import 
RESOURCE_HITL_DETAIL
   
       _MAP_MENU_ITEM_TO_FAB_RESOURCE_TYPE[MenuItem.REQUIRED_ACTIONS] = 
RESOURCE_HITL_DETAIL
   ```



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