Node test form access check runs for anonymous users

Created on 21 July 2025, 2 months ago

Problem/Motivation

Found via profiling.

When you have both paragraphs and webform_node active, anonymous users trigger ::getParagraphWebformsRecursive() via webform access checks - this is because the test form is in a local task for any node.

πŸ› getParagraphWebformsRecursive causes slow load times Needs review should optimize the recursive webform lookup but I think it should be possible to skip this access check for anonymous users. Not entirely sure what the use-case is for the route but switched the access check to match other similar ones.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

6.3

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom catch

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024