The GitHub Actions job "Tests (AMD)" on 
airflow.git/import-errors-all-permission-unregistered-files has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
5d4ff6149d924067ce6192d6e0faa459f21c4581 / Jarek Potiuk <[email protected]>
Fold team scoping into is_authorized_view instead of a separate method

Per review, add the optional team_name to is_authorized_view directly rather
than introducing a parallel is_authorized_view_for_team. Duplicating every
authorization method for its team-aware variant would bloat the auth manager
interface; the other is_authorized_* methods already carry team scoping through
their details object, and this keeps is_authorized_view consistent with them.

This is a breaking change for out-of-tree auth managers: an override that keeps
the old (access_view, user) signature imports cleanly but raises TypeError at
runtime the first time core authorizes a team-scoped view. Documented in a
significant newsfragment with the one-line fix.

Report URL: https://github.com/apache/airflow/actions/runs/29828261596

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to