Hi DS team,

I've noticed following behavior with latest carbon-dashboards.

1. Accessed a dashboard using its direct URL.
E.g https://localhost:9443/portal/dashboards/esb-analytics

2. If the user is not logged in before, the user will be redirected to the
login page.

3. After logging in, the user will be redirected to dashboard listing page.
E.g /portal/dashboards

In this case, the user has to perform an additional action to view the
dashboard. IMO, user should be redirected to the referring URL (
https://localhost:9443/portal/dashboards/esb-analytics in this case ) after
a successful login.

Analytics products like ESB and Security has only one dashboard and it is
treated as the default dashboard. In a situation like above, user will have
the ability to access the dashboard designer mode which is  restricted for
normal users.

So is it possible to redirect the user to last requested page after login?

-- 
Regards,

Dunith Dhanushka,
Associate Technical Lead
WSO2 Inc,

Mobile - +94 71 8615744
Blog - *https://medium.com/@dunithd <https://medium.com/@dunithd>*
Twitter - @dunithd <http://twitter.com/dunithd>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to