Loris icon indicating copy to clipboard operation
Loris copied to clipboard

[dashboard] Use user site permissions for dashboard charts

Open CamilleBeau opened this issue 2 years ago • 0 comments

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)

  1. Test the dashboard charts with a user who only has access to some but not all sites
  2. Make sure that the numbers are correct
  3. Repeat steps 1 and 2 but with a user who has all sites
  4. Repeat steps 1 and 2 but with a user who has the "all sites" permission

CamilleBeau avatar Jul 05 '22 19:07 CamilleBeau