Bug: dashboard does not load for non-admin user; POST request fails

Given a non-admin user, the dashboard does not load.

The POST request causing the error appears to be:
https://www.example.com/index.php?module=Dashboard&action=embeddedIndex&idSite=1&period=day&date=yesterday&idDashboard=1

It receives a HTML login form, which contains the following error:

You can’t access this resource as it requires an admin access for at least one website.

Giving the user admin permissions (instead of “view”) works around it.

I have also tried removing all widgets, which the askes to install any widgets or reset the dashboard.

I am using r7393.

Ok I fixed it in trunk thanks for the report! :slight_smile: