Loris
Loris copied to clipboard
[dashboard] Use user site permissions for dashboard charts
Brief summary of changes
This PR uses the user sites instead of a full site list in the visualizations of statistics displayed on the dashboard.
- [x] Have you updated related documentation?
Testing instructions (if applicable)
- Test the dashboard charts with a user who only has access to some but not all sites
- Make sure that the numbers are correct
- Repeat steps 1 and 2 but with a user who has all sites
- Repeat steps 1 and 2 but with a user who has the "all sites" permission