potiuk opened a new pull request, #75138: URL: https://github.com/apache/airflow/pull/75138
Five asset permission tests in `routes/ui/test_dependencies.py`, added in #73008, fail on `main`: the unreadable assets are still returned. Same cause as #75126: the tests patch `BaseAuthManager.get_authorized_assets`, but since #72934 `SimpleAuthManager` (the auth manager the API test client uses) overrides that method, so the patch never takes effect and every asset stays readable. The production filter is fine; this patches `SimpleAuthManager.get_authorized_assets`, as the other asset permission tests do. `routes/ui/test_dependencies.py`: 43 passed (previously 5 failed on `main`). --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5) Generated-by: Claude Code (Opus 5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
