Access Denied to anonymous users

Created on 1 March 2022, almost 3 years ago
Updated 1 March 2024, 10 months ago

Similar to https://www.drupal.org/project/drupal/issues/3184363 which actually was really never fixed

View content and revisions enabled in Permissions - I have Access Control Bridge (2.0.0), Domain Access, Commerce License which uses ACL and Content Access enabled. Drupal single codebase for Domain Access. Drupal 9.36 and PHP 7.4.27 on Centos 7.9.2009 with Apache 2.4.51 all current maria DB 10.3.32 virtual machine using Open VZ 7 with root access. It all works fine on Drupal 7 which I can switch to by renaming the directory which is the site I am trying to upgrade from that has to keep running while all of this goes on

If I do as the last post above says and "Bypass Access Control" of course it works then - but also that diasbles the website security completely for an anonymous user

I have done the drush cache rebuild and cleared the caches and rebuilt to permissions

Is there a single known permission issue that can cause this ??

🐛 Bug report
Status

Closed: duplicate

Version

9.3

Component
Base 

Last updated 2 days ago

Created by

🇺🇸United States bobburns

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India pgdev

    Hi, all. I'm on drupal 10.1.6, also facing this issue while redirecting to payment gateway(I'm building the module bdw). I did several things which are given in diff drupal threads but none worked for me.

    In last 3 days list of things I did :

    -> Enabling permission nodes, blocks, content, commerce related permission for anonymous user (including bypass access control permission) in admin/people/permissions.
    -> Tried Rebuilding permissions.
    -> Updating "entity, inline entity, commerce, profiles, state_machine" modules which were pending for updates.
    -> Adding

    requirements:
        _access: 'TRUE'

    in my route file.
    -> Deleting module.route.yml file from folder.
    -> Commenting out "onReturn, onCancel" functions code to check if that were responsible.

    None of them worked. The "ACCESS DENIED" error is immortal. I can't get rid of this. I'm running out of options how to resolve this.. Please can anybody help me in anyway.

Production build 0.71.5 2024