Closed (fixed)
Project:
Webform
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Sep 2006 at 14:19 UTC
Updated:
29 Sep 2006 at 14:15 UTC
Right now webform returns false on all uncaught $op values, which overrides the permissions system. It should return NULL. Also, view permissions cannot be used with the drupal node-access system with module like simple_access because the 'view' $op returns the value of the published state of the node, which is not necessary since node_access already does this. This patch removes those unneccesary features.
| Comment | File | Size | Author |
|---|---|---|---|
| webform.patch.txt | 957 bytes | crunchywelch |
Comments
Comment #1
quicksketch'unneccesary features' is a very nice way of putting that. Committed. Thanks again!
Comment #2
John McV commentedHello,
I'm having problems with permissions. Those who have only access to webform results can also delete those results. How do I manually install your patch? I tried manually removing the patch code marked - and adding those with + but it didn't work for me. Also what settings should I use if any with simple access on webforms? For my purposes, it would be ideal if a given result could be diplayed as a node using it's first field as the title. I could then filter them through views and control access that way as well. Anyway, thanks for the great module.
John
Comment #3
(not verified) commented