Hi Dunith, On Thu, Jul 21, 2016 at 6:41 PM, Dunith Dhanushka <[email protected]> wrote:
> 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? > This is fixed with this [1]. Anyhow if you want to restrict the design mode from user, then you need to do it from the settings. Redirecting directly to the view of the dashboard is not completely prohibiting from accessing the design mode, therefore this needs to be configured in dashboard settings. Also since these settings will be reflected in dashboard.json therefore when you export it and use in the CApp. [1] https://github.com/wso2/carbon-dashboards/commit/4245201d150382738adcceeaca033b1cf4f5391a Thanks, Sinthuja. > > -- > 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> > -- *Sinthuja Rajendran* Technical Lead WSO2, Inc.:http://wso2.com Blog: http://sinthu-rajan.blogspot.com/ Mobile: +94774273955
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
