Fixed
Project:
Webform REST
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2026 at 21:21 UTC
Updated:
12 Oct 2026 at 22:13 UTC
Jump to comment: Most recent
Since 4.2.1 (SA-CONTRIB-2026-186), WebformFieldsResource and WebformElementsResource check $webform->access('view'). For non-HTML requests, Webform only grants view with Access any webform configuration or with the per-webform Access webform configuration rule.
This causes issues when the site also has JSON:API installed.
Allow the fields/elements resources when the user can either view the webform configuration or submit the webform. This mirrors what Webform already does for HTML requests: whoever can fill in a form can see its elements
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:
Comments
Comment #4
acbramley commented