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

Cheope created an issue. See original summary.

cheope’s picture

Issue summary: View changes
cheope’s picture

Status: Active » Closed (works as designed)

Sorry, my fault.
There was a missing configuration on administrator role after upgrade from Drupal 7.
Now it works.