sapcc / elektra

An opinionated openstack Web UI for consumer self service and operations.
Apache License 2.0
74 stars 28 forks source link

[Error handling] infinite login screen loop when trying to access any project plugin when limes isn't installed #1186

Open edda opened 1 year ago

edda commented 1 year ago

During setup of a new lab environment the following problem occurred:

Situation: limes not installed in environment

Problem: Trying to access any Elektra plugin in a project (e.g. Volumes) causes the volumes plugin to load and render for a second or so and then the user gets redirected to the login screen. After login they get redirected to the volumes plugin and immediately back to the login screen.

It appears this is caused by an error related to the fact that limes isn't available and somehow triggers our "unauthenticated error handling" even though that is not the case here.

Solution: If limes isn't available the plugin should still render (potentially with errors in cases where limes is crucial) and not redirect to the login screen.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need to keep this issue open set label of this issue to 'neverstale'. Thank you for your contributions.

github-actions[bot] commented 3 weeks ago

This issue has been automatically closed due to inactivity. Thank you for your contributions.