Problem/Motivation

    # Anyone can access webhooks. We will perform access logic and token
    # checking at WebhookReceiver::process().
    _permission: 'access content'

This won't work if node module isn't enabled, or it we don't want the anonymous user to view nodes.

The right way to grant universal access to a route is with

>_access: 'TRUE'

See https://www.drupal.org/docs/drupal-apis/routing-system/structure-of-routes

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 1.x Comparechanges, plain diff MR !2

Comments

joachim created an issue. See original summary.

dharmeshbarot89 made their first commit to this issue’s fork.

dharmeshbarot89’s picture

Status: Active » Needs review
prem suthar’s picture

Changes Are looks good . From My Side RTBC+1

  • alberto56 committed 49bc2199 on 1.x
    Issue #3463567: use _access: TRUE rather than access content
    
alberto56’s picture

Thanks! Committed, and I created a new release, 1.1.0.

alberto56’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.