Closed adelmemariani closed 4 months ago
Hm, the title of the problem suggests a different issue than the description. Can you be more specific about what you mean? I don't see the behaviour described in the title, but I see what you describe in the description :)
Duplicated with https://github.com/OpenEnergyPlatform/oeplatform/issues/1586 ?
You are right, I changed the description. Thank you for mentioning it.
We should disable the "Create new" button if the user is not logged in. I just tried to do that, but it's a bit more effort than expected - I won't do that now. But as soon as the non-logged in user tries to create a bundle, he/she will be redirected to the login page.
I did it with a tooltip for now.
I implemented a redirect in the save factsheet button. Maybe I can move this functionality to the create new button.
When creating a new scenario bundle, if the user is not logged in, clicking the scenario tab leads to a black page which is confusing in the absence of any error message. Scenario tab is prevented because the user is not logged in.
Ideas of solution
Disable the "create new" button if the user is not logged in. Guide the user to the login page.
Workflow checklist