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.
When a site uses a node access module to control access to webforms, it can be confusing to end users to also have the built-in Webform Access Control settings.
This patch adds an option to disable the built-in access control, under the Advanced Options at admin/settings/webform .
Comment | File | Size | Author |
---|---|---|---|
#3 | webform_optional_access_control2.patch | 1.02 KB | quicksketch |
#2 | webform_optional_access_control.patch | 3.31 KB | quicksketch |
webform_optional_access_control.patch | 5.88 KB | matt2000 | |
Comments
Comment #1
quicksketchA better approach here would be to use #access rather than wrapping the fields in a large IF statement. Seems like a good overall option for Webform to me.
Comment #2
quicksketchHere's a revised patch that makes less changes and preserves per-webform settings even when the access control feature is disabled. Thanks for the great start on this one! I've committed the patch to both 5 and 6 versions.
Comment #3
quicksketchHmm, your patch took out some messages that I didn't notice before committing. These have been restored.