Needs review
Project:
Salesforce Webform Integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2010 at 16:00 UTC
Updated:
29 Dec 2010 at 16:00 UTC
Current behavior:
sf_webform_menu defines a local task "Webform Settings" that appears for all fieldmaps.
Expected behavior:
local task "Webform Settings" should only appear where relevant, ie. when the fieldmap is a node_webform fieldmap.
Attached patch implements an access callback for this menu item to check whether the fieldmap given by the page argument is a webform fieldmap, and only allows access when relevant.
| Comment | File | Size | Author |
|---|---|---|---|
| sf_webform-access_callback.patch | 978 bytes | aaronbauman |