Trends load error - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9) +--- Thread: Trends load error (/showthread.php?tid=632) |
Trends load error - buuuudzik - 20.02.2017 Hello, I found some little bug in visualisation and access. When I have regular visualisation with some widgets with individual trends and I want give some access to part of this visualisation for some person there is a error of loading trends which shouldn't be loaded. This is probably because all widgets are loaded in all situations also when not necessary like in this case. I've checked that the fast solution is when I use address to trend with IP, but I think also about optimization. How can I delete in correct way unnecesseary widgets when some page is from specific part of the visualisation or if logged person hasn't rights for this widgets? RE: Trends load error - admin - 20.02.2017 Access right are per-plan, so the easiest way is to create separate plans with trends for each user. RE: Trends load error - buuuudzik - 20.02.2017 I like more widgets than plans for trend viewing so I've prepared such script for deleting unnecessary widgets if first page is for example 173(homepage of specific user): Code: // Delete unnecessary widgets |