TempestShaw commented on code in PR #59399:
URL: https://github.com/apache/airflow/pull/59399#discussion_r2629207924


##########
airflow-core/docs/core-concepts/auth-manager/index.rst:
##########
@@ -141,6 +141,7 @@ These authorization methods are:
 * ``is_authorized_asset_alias``: Return whether the user is authorized to 
access Airflow asset aliases. Some details about the asset alias can be 
provided (e.g. the asset alias ID).
 * ``is_authorized_pool``: Return whether the user is authorized to access 
Airflow pools. Some details about the pool can be provided (e.g. the pool name).
 * ``is_authorized_variable``: Return whether the user is authorized to access 
Airflow variables. Some details about the variable can be provided (e.g. the 
variable key).
+* ``is_authorized_hitl_task``: Return whether the user is authorized to 
approve or reject a Human-in-the-loop (HITL) task.

Review Comment:
   I see there is a section for `Optional methods recommended to override for 
optimization` at line 195. Should I move this method to that section?



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