Hi,

I have created custom display view & have role based access, I have assigned it to multiple roles. It's working fine on my staging ENV, recently I have moved my site to production ENV, there it's says You are not authorized to access this page. even if I am logged in with admin user.

However, if I assign role named Authenticated User, it starts working

Please see attached screenshots for further understanding:

https://prnt.sc/z6axpl

https://prnt.sc/z6azxq

Any help on this please?

Thanks

Comments

wombatbuddy’s picture

Try to clear your browser cache.

mangrio123’s picture

Have tried many times, no luck. One thing I noticed that it's working when I am logged in user with other assigned roles except Administrator.

Also, I have cloud flare enabled on site. Does cloud flare has something which cause the issue?

wombatbuddy’s picture

1. Ensure that you has the 'Administrator' role.
2. Try to resave the view and rebuid the Drupal cashes.
3. Try try to remove the cookies.