Skip to content

UI - Disable auto refresh queries if server respond 403 forbidden #64319

@pierrejeambrun

Description

@pierrejeambrun

Body

AutoRefresh condition for the UI is not considering server response, and will try querying as long as UI condition for refresh are met.

This is problematic in case the user does not have 'access' for instance missing permissions and the endpoint returns '403'. In this scenario it's very unlikely that the user will suddenly get access to the resource, so disabling the auto refresh on this particular endpoint seems fair to avoid spamming the server with useless requests.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:webserverWebserver related Issueskind:bugThis is a clearly a bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions