but there is one issue the “gear” for editing the dashbord shows and if a user click on it, the user en send to the login page.
how do i prevent the gear to show??
There is currently an error on the page and no emoncms
Fatal error: Call to a member function fetch_array() on a non-object in /volume1/web/emoncms/Modules/graph/graph_model.php on line 91
This is a really good point, I have many dashboards that are for “read-only” consumption and the cog is visible as you say, in time I intend to embed these dashboards in various websites, it would be good to not have the cog present.
I think it should be wrapped in a if readwrite authenticated type function so that only if logged in or using the readwrite apikey is the cog visable, I’m not able to look at this right now (not that I’m any good with PHP) but hopefully it is possible.