Create / Update Rest submission does not validating permissions set by webform module

Created on 1 December 2023, about 1 year ago
Updated 8 December 2023, about 1 year ago

Problem/Motivation

While creating or updating webform submission via , the webform access settings are ignored.

Steps to reproduce

1. Set up REST client for create/update a webform submission.
2. Go to respective webform >> Settings >> Access
3. remove all roles from creating webform submission.
4. Now call create submission rest API ( REST Client).
5. Webform submissions are created successfully , even though no role can create submission permission set

Proposed resolution

My patch for the fix attached.
This patch includes delete API for webform submission also

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇮🇳India shermiep

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

Comments & Activities

Production build 0.71.5 2024