So I have Piwik installed and working perfectly at the moment. My only concern is having to keep anon access if I want to let all my clients access their stats through my control panel.
When i read the documentation, i thought i understood it to say that I could turn off anonymous access and the following would allow me to access their stats:
(Background: Logged in a a superuser changed anonymous to noaccess and created 2 new accounts. admin with admin rights. and clients with view access. I then pass through the siteid depending on which client is logged in. The token is passed as either admin (if admin) or the partners token (if !admin).
When i try to use this method, it still brings up the login screen. I’d rather not setup an account for every client (unless I absolutely have to, but then why use siteid?) nor do I like making them log into control panel, and then into their stats page.
Is there an easier way I haven’t seen yet? My last thought before posting was to create the cookie with the right info when they log into my control panel.
I didn’t see that Bug. Everything i could find pointed to this being fixed. I will use the mentioned login method until this gets resolved. Thanks Matt.
I might some some additional insight to this problem. I am now trying to use the ‘logme’ action, but im running into a problem with the login controller.
according to the FAQ example, shouldn’t this work:
I have the same problem. Have tried embedding iframe dashboard in page with auto-login, with encoded redir. url. However all widgets in dashboard show “No data for this graph.” or “No data for this table”. The widgets do display correctly in the real dashboard mode when I login through the login page.
[quote=krose @ Jul 17 2010, 03:25 AM]I have the same problem. Have tried embedding iframe dashboard in page with auto-login, with encoded redir. url. However all widgets in dashboard show “No data for this graph.” or “No data for this table”. The widgets do display correctly in the real dashboard mode when I login through the login page.
Oops. Logging in automatically with the url did work, I was just having a separate issue. It turned out that the “No Data” issue wen away when I switched the time period from Week to Day.
Any update on having the dashboard working using token_auth for the new release? Ive been looking for confirmation of this but couldn’t find any.
Iam looking for a solution again because, I had a customer point out that, when they click on the daily line graph (the points are links), if they click on this link, they become superuser and can view all other websites statistics.
I just spend the day writing a script to use an API call to add all my users / pass / emails into the piwik_users table. I decided to try to pass along the siteid and token_auth, but the stats still dont populate…
Error in each Widget: Error: You can’t access this resource as it requires an ‘view’ access for the website id = 97.
with a login form. (Some widgets actuyally do have info in them…)
If I cannot use token_auth yet, is there a way using the logme method that wont give a user superuser access clicking on the chart points?