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
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

pwolanin - June 9, 2007 - 13:42

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

pwolanin - April 11, 2008 - 02:47
Status:active» by design

#3

adam_b - July 10, 2009 - 17:55
Version:5.x-1.0» 6.x-1.0-beta1
Status:by design» active

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.

 
 

Drupal is a registered trademark of Dries Buytaert.