Closed (fixed)
Project:
Webform
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2008 at 01:26 UTC
Updated:
25 Jan 2009 at 05:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
cdale commentedThis patch corrects this issue.
The patch makes it so the user must also have view access on the node to access the results. i.e. the user must have both view access on the node and the 'access webform results' permission to be able to view results for a node.
NB: A menu rebuild will be required for the patch to take effect.
Comment #2
quicksketchThanks, I ported it to Drupal 5 and added a bit of PHPdoc for the new webform_results_access(). Great patch!
Comment #3
quicksketchOops, forgot the db_rewrite_sql() in the D5 version. Added here.