pierrejeambrun commented on code in PR #59564:
URL: https://github.com/apache/airflow/pull/59564#discussion_r2691219917


##########
airflow-core/src/airflow/api_fastapi/auth/managers/base_auth_manager.py:
##########
@@ -75,7 +75,7 @@
 # List of methods (or actions) a user can do against a resource
 ResourceMethod = Literal["GET", "POST", "PUT", "DELETE"]
 # Extends ``ResourceMethod`` to include "MENU". The method "MENU" is only 
supported with specific resources (menu items)
-ExtendedResourceMethod = Literal["GET", "POST", "PUT", "DELETE", "MENU"]
+ExtendedResourceMethod = Literal["GET", "POST", "PUT", "DELETE", "MENU", 
"PATCH"]

Review Comment:
   +1 for this. That would finally allow us in the API code to have 'matching 
perms'. "PATCH" permission for PATCH endpoint, instead of "PUT" permission for 
"PATCH" currently :( 



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