Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use requires_access to check read permission on dag instead of checking it explicitly #34940

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

hussein-awala
Copy link
Member

This PR moves checking the read access on DAG resource to requires_access when dag_id parameter is not None, it's not a bug fix, both versions of code do the exact same thing.

@boring-cyborg boring-cyborg bot added the area:API Airflow's REST/HTTP API label Oct 14, 2023
@hussein-awala hussein-awala added the type:misc/internal Changelog: Misc changes that should appear in change log label Oct 14, 2023
@potiuk potiuk merged commit 9b06798 into apache:main Oct 16, 2023
43 checks passed
@ephraimbuddy ephraimbuddy added this to the Airflow 2.8.0 milestone Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants