Problem/Motivation
On a standard view page visited by Administrator role, an "Access denied" error occurs, even when "Administrator" is enabled in view access restrictions by role.
Steps to reproduce
In D 9.4.8 create a page view of normal content types, eg. article.
Add view access restriction > by role > select Administrator and hit save.
Trying to visit the view page as Administrator, there's an "Access denied" error.
Administrator can see the view page only when "authenticated users" is flagged in view access restrictions options.
If "Anonymous user" and "Administrator" are flagged, anonymous users see the page correctly, but the logged-in Administrator still gets the error.
The view restriction seems to work as intended when access is set on roles other than Administrator.
Comments
Comment #2
cheope commentedComment #3
cheope commentedSorry, my fault.
There was a missing configuration on administrator role after upgrade from Drupal 7.
Now it works.