vincbeck commented on code in PR #34349:
URL: https://github.com/apache/airflow/pull/34349#discussion_r1326105782
##########
airflow/api_connexion/openapi/v1.yaml:
##########
@@ -2112,12 +2112,13 @@ paths:
/roles:
get:
+ deprecated: true
summary: List roles
description: |
Get a list of roles.
*New in version 2.1.0*
- x-openapi-router-controller:
airflow.api_connexion.endpoints.role_and_permission_endpoint
+ x-openapi-router-controller:
airflow.auth.managers.fab.api_endpoints.role_and_permission_endpoint
Review Comment:
I think we need to add a layer in between. We dont want these endpoints to
be available if the auth manager used is not FAB auth manager
--
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]