Related ticket for Report improvement: expand Pages reports & Campaign report by default #2137
Proposal UI for including "All Websites" report in a scheduled report.
This feature would be very useful for majority of Piwik users tracking more than 2-3 websites. The ALl websites has potential to be much more used and this feature will be a new way to promote it.
(In ) Fixes #2600
(In ) Fixes #3017
BUG explanation: During scheduled tasks, Super User status is enforced. This was not a problem until recently, because the Scheduled report was always about one website in particular. since we added All websites Refs #2600 now the report was generated as "Super User"....
so I force the getSitesWithAtLeastViewAccess in the SitesManager API to be restricted to the user who created the report..
This solution is unfortunately a bit hacky but I couldn't find a better way and it took me 4 hours to get it right... pff