Closed (fixed)
Project:
Webform
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
5 Feb 2009 at 20:48 UTC
Updated:
28 Feb 2009 at 04:00 UTC
Jump to comment: Most recent file
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.