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


##########
airflow/api_fastapi/core_api/routes/ui/auth.py:
##########
@@ -31,7 +31,7 @@
 def get_auth_links(
     user: GetUserDep,
 ) -> MenuItemCollectionResponse:
-    menu_items = get_auth_manager().get_menu_items(user=user)
+    menu_items = get_auth_manager().get_extra_menu_items(user=user)

Review Comment:
   Shouldn't this be ?
   ```
   menu_items = get_auth_manager().get_authorized_menu_items(user=user)
   ```
   We have no endpoint leveraging `get_authorized_menu_items` at the moment for 
the front-end to use ? 



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