Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
According to the webform settings you can select a role that can submit the form, but it doesn't appear to check this on submission.
How to reproduce
Start filling out a form as a logged in user. Delete your Drupal cookies (or, let the cookie time out) and then press submit. The form will submit but from the user Anonymous (not verified) and in our case, forward to the Thank You page/message.
Comment | File | Size | Author |
---|---|---|---|
#2 | webform-roles_check-1840958-2.patch | 973 bytes | sidharthap |
Comments
Comment #1
sidharthapSame issue here. I am working on it and soon i will upload the patch.
Comment #2
sidharthaphere is the patch file.
Comment #3
quicksketchThanks. This issue is also the same as #1680952: Submission role access isn't re-checked when validating a form, but when that problem was fixed it was apparently only committed to the 4.x version of the module. You could upgrade to the 4.x version if you're needing this functionality immediately.
Comment #4
DanChadwick CreditAttribution: DanChadwick commentedVersion 7.x-3.x is getting critical fixes only. Please upgrade to 7.x-4.x if possible.