OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

[Scenario Bundles] Users not logged in are not redirected to the login page if they attempt to access restricted funtionalies #1485

Closed jh-RLI closed 4 months ago

jh-RLI commented 7 months ago

Description of the issue

Some functions, such as the creation of a scenario bundle, are restricted to registered users. They are expected to be redirected to the login page and back to the original page after logging in. This behavior is not possible without additional changes, as the Bundles app was developed with React. This requires additional code.

Steps to Reproduce

  1. Navigate to scenario bundle page
  2. Log out
  3. Click "create scenario bundle"
  4. Insert acronym and click create
  5. Load sinner for ever .... (it is possible to go back from here)

Ideas of solution

The React frontend must be integrated into the authentication workflow.

Context and Environment

Workflow checklist

jh-RLI commented 4 months ago

This is now fixed. Redirect will follow for now there is a tooltip.