Closed (fixed)
Project:
Webform
Version:
6.x-2.1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2008 at 17:14 UTC
Updated:
11 Sep 2008 at 05:32 UTC
The current implementation of webform_access() returns FALSE if the user doesn't have permission (according to Webform). Instead, it should only return TRUE if the user does have permission, otherwise return nothing. That way, other modules can grant access by way of the node_access table if they feel it's appropriate. See the attached patch, and the docs:
| Comment | File | Size | Author |
|---|---|---|---|
| webform_hook_access.patch.txt | 598 bytes | gribnif |
Comments
Comment #1
quicksketchThanks! To make things easier, please roll a 5.x version also when possible. I ported it and committed.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.