The repository has not been cloned yet. Run the following command first
to clone the repo, check out the target commit, and install dependencies:
bash
bash /setup_files/setup.sh
The code will then be available at /testbed.
You are working on the repository wagtail/wagtail (instance: wagtail__wagtail-10618).
The code is located in /testbed.
##7958 Image & document count on dashboard invalid due permissions while page count is correct
Issue Summary
Entering the CMS on the dashboard page shows invalid image & document counts.
This is confusing as you click on e.g. the image count you see no images (but tags are present also which doesn't make sense).
Steps to Reproduce
Create multiple collections with images in it
Create a new users and group with limited persmissions to a single collection
Login in as that user and you will see the image (and document) count is invalid