devgonvarun opened a new issue, #53938: URL: https://github.com/apache/airflow/issues/53938
### Apache Airflow version 3.0.3 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? Case: Custom airflow role with access to only some dags. The "Home" screen shows the Stats and History for all dags running on the airflow instance which includes the dags that the logged in user does even not have access to. For example: here i see 6 Dag runs but this airflow user role just has access to 2 of those dag runs as the other dags runs are from dags that this user does not have permissions to view. <img width="1232" height="875" alt="Image" src="https://github.com/user-attachments/assets/7acd65fe-99a9-404e-ad6b-16e53f5c3fbb" If this screen is only intended for users who need insights for the entire instance then a permission like "menu access on Home" should exist. ### What you think should happen instead? The Home screen should show information only for the dags that the logged in user role has access for. And/Or a permission like "menu access on Home" should exist. ### How to reproduce Create a new airflow user with access to only some dags: remove "can read on DAGs" permission and instead add "can read on DAG:X" permission where dag_id=X for your newly created role to limit dag access. Then using this new role, navigate to "Home" screen. ### Operating System Debian GNU/Linux 12 (bookworm) ### Versions of Apache Airflow Providers _No response_ ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
