check code permission denied for anonymous
BenKewell - June 8, 2007 - 17:37
| Project: | Organic Groups Registration Codes |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
i use drupal 5.1
i found that when as a visitor and went to the user register page
i clicked the "check registration code" link on the registration form
but the check code page gave me a permission denied message
the page works fine if i logged in with a valid user

#1
I'd guess the most likely issue is that you did not give anonymous users permission to view the list of groups at /og? the access permission is 'access content'
Since the path for this page is /og/use-code I think being denied access to /og will also deny access to this page. Probably the module should be updated to use the same
'access' => user_access('access content')#2
#3
Sorry to resurrect this after so long, but I'm getting the same problem using 6.x-1.0-beta1 on Drupal 6.13 - and I have given anonymous users "access content" permission.