Log in as user with access to one of the sites in a multisite setup, which isn't the main/default site.
Access GDPR Cookie Consent in left admin menu (user must have been given rights to access plugin).
Click "View consents" in plugin menu.
Bug: The consents loaded in this view belongs to the default site, which the user doesn't have access to.
URL is: admin/cookie-consent/site/default/consent (and not admin/cookie-consent/site/selected-site/consent as expected).
In order to display the consents I'm looking for, I have to go to the site selector dropdown and select the site which is currently selected, then go into "View consents" again.
Steps to reproduce:
Bug: The consents loaded in this view belongs to the default site, which the user doesn't have access to. URL is: admin/cookie-consent/site/default/consent (and not admin/cookie-consent/site/selected-site/consent as expected).
In order to display the consents I'm looking for, I have to go to the site selector dropdown and select the site which is currently selected, then go into "View consents" again.