I created a webform (http://www.queermagic.org/?q=node/33), which I want unauthenticated users to be able to fill out. I checked all the roles, including unauthenticated user, under Website Access Control. But when I log out and try to access the page, I see this: "You are not authorized to access this page." What else do I need to do for unauthenticated users to be able to fill out my form?

Comments

quicksketch’s picture

You probably need to publish the webform node. Edit the node, and under "Publishing Options" check "Published".

michelemeek’s picture

I am having the same issue -- the webform is published and I've also checked Access Control and given anonymous users every access of webform to see if that helped and it did not. Any suggestions would be great!

michelemeek’s picture

Sorry to double-post - but I just solved this and thought I'd share. I was able to edit the content type itself at /admin/content/types/webform/access and check proper permissions there. Now anonymous users can view and submit the form.

ebrittwebb’s picture

I'm still having the same problem discussed in the original issue and comments #1, #2, and I don't see any relevant permissions in /admin/content/types/webform/access, as mentioned in comment #3, that resolves this issue. Help!

thebenedict’s picture

I am also having this problem... anonymous users can't access *published* webforms in drupal 5.11 and webform 5.x-2.2. I'm still troubleshooting but pretty stumped. Thanks for any ideas!

Update

After reading comment #6 in #226987: Access Denied for all custom forms. Fixed: Unpublished node I checked my node_access table and found that it had many rows in it. I don't know which of my modules was originally responsible for this (taxonomy maybe?) but they're all needed. Seeing that nid 0 didn't have an entry, I added one per comment #6. This fixes the problem but I don't know what else it will break.

charlie-s’s picture

Are you using Nodeaccess module? That was the problem for me, I had to add a Grant tab to Webforms through nodeaccess and allow anon to view.

KAP10’s picture

No, I am not using NodeAccess.

KAP10

quicksketch’s picture

I'm not sure what to do with this issue. Ultimately it comes down to one of the following:

- Some Node Access module is disabling access. This could be Organic Groups Access, Taxonomy Access, Content Access, Node Access, or any other of a number of modules. If you have EVER installed any of these modules, they may be affecting access to nodes. If not using any access control modules, make sure your node_access table contains only one entry, as described in http://drupal.org/node/226987#comment-747714.

- The Webform node is unpublished. Expand the "Publishing options" fieldset at the bottom of the node form and check the "Published" checkbox.

quicksketch’s picture

Status: Active » Closed (fixed)
spessex’s picture

See permission and allow anon users to post comments. This fixes it.