tirkarthi commented on issue #57966: URL: https://github.com/apache/airflow/issues/57966#issuecomment-3498304414
There is an endpoint to return menus allowed with the UI disabling them menus not accessible in the UI. Perhaps there could be new API to dump the permissions relevant to UI like create a dagrun to disable/enable trigger button, delete a dagrun to enable/disable delete dagrun button etc. https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/api_fastapi/core_api/routes/ui/auth.py https://github.com/apache/airflow/blob/efa1084a4e0197c6a767b520df2d54136c955566/airflow-core/src/airflow/ui/src/layouts/Nav/Nav.tsx#L163-L168 -- 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]
