What are the steps to reproduce your problem?
- Use Cockpit v7.14
- Block the /profile call with a 404
- try to navigate
What is the problem?
- I get redirected to /login
What would be the expected behavior:
- User Menu gets disabled
Hints (optional):
This is caused by the withUser HOC: https://github.com/camunda/camunda-bpm-platform/blob/5a8574475c3b6597d7e543d107b991c60dee3939/webapps/ui/cockpit/src/modules/HOC/withUser.js#L60
Refactoring is needed to decuple the user profile from the login state
This is the controller panel for Smart Panels app
- is related to
-
CAM-12887 Revert React-js changes in Cockpit
- Closed