Skip to content

Bug - Impossible to load UI if user does not have read permissions on plugins #51299

@pierrejeambrun

Description

@pierrejeambrun

Body

Plugins are loaded at the start of the web application to be able to fill extra menu items in the navbar.

Authenticated users but without read permissions on plugins will get a 403 forbidden error on that endpoint. That error is handled in a way that prevent the rest of the application to render and show a Forbidden page.

We should instead fail gracefully and continue rendering the UI even if extra plugins menu items cannot be fetched because the user does not have access. This way user can still use the default UI.

We want all user to be able to see extra menu items coming from the plugins.

Related issue: #53936

Committer

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

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:pluginsgood first issuekind:bugThis is a clearly a bugkind:metaHigh-level information important to the communitypriority:mediumBug that should be fixed before next release but would not block a release

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions