Skip to content

REST API: Fix task instance access issue in the batch endpoint - #34315

Merged
potiuk merged 1 commit into
apache:mainfrom
astronomer:fix-task_instance-access
Sep 12, 2023
Merged

REST API: Fix task instance access issue in the batch endpoint#34315
potiuk merged 1 commit into
apache:mainfrom
astronomer:fix-task_instance-access

Conversation

@ephraimbuddy

Copy link
Copy Markdown
Contributor

Currently, there's no restriction on the task instances a user can access in the REST API batch fetch task instances endpoint.
This PR fixes it

Currently, there's no restriction on the task instances a user can access in
the REST API batch fetch task instances endpoint.
This PR fixes it
@boring-cyborgboring-cyborgBot added the area:API Airflow's REST/HTTP API label Sep 12, 2023
@potiukpotiuk added this to the Airflow 2.7.2 milestone Sep 12, 2023

@hussein-awalahussein-awala left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

@potiuk
potiuk merged commit 3df1af4 into apache:mainSep 12, 2023
@ephraimbuddy
ephraimbuddy deleted the fix-task_instance-access branch September 12, 2023 20:42
@ephraimbuddyephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Oct 3, 2023
ephraimbuddy added a commit that referenced this pull request Oct 5, 2023
Currently, there's no restriction on the task instances a user can access in
the REST API batch fetch task instances endpoint.
This PR fixes it
(cherry picked from commit 3df1af4)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:APIAirflow's REST/HTTP APItype:bug-fixChangelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ephraimbuddy@potiuk@hussein-awala