When clicking on the unique link in the invitation email, i get the 'Access denied' page.

am i the only one? :S

Had LoginToboggan installed..tryed uninstalling and problem is still there..

Here i am on Drupal 4.7.2, latest Invite.module 4.7, multisite install, all URLs redirecting to www.mysite.com/*

thanks for any help/fix!

Comments

marcoBauli’s picture

Title: 'Access Denied' » 'Access Denied' when clicking on invitation link
marcoBauli’s picture

Title: 'Access Denied' when clicking on invitation link » 'Access Denied' when clicking on invitation link [solved]
Category: bug » support
Priority: Critical » Normal
Status: Active » Fixed

ok, what i was needing here was to set a pre-auth default role for invited users. Otherwise when clicking on the link in the invitation mail they were considered authenticated users not logged in yet, causing the 'Access denied' error.

maybe this should be added to the readme.txt? cheers

Anonymous’s picture

Status: Fixed » Closed (fixed)
BradM’s picture

Not sure how to solve this... in my case, I get the same error with invitations -- the email links to http://www.mysite.com/drupal/user/register/inviteID -- which gives the invited person an access denied error page.

I created a role called "invited user" but I don't know what permissions to activate.

Tiburón’s picture

@BradM

You need to give permission for registration via the invite link

Go to:

admin/user/settings

and choose:

New user registration by invitation only.

under:

User registration settings

Well any permission besides:

Only site administrators can create new user accounts.

should do the trick but I haven't verified this.

In regards to LoginToboggan have a look at:

admin/user/logintoboggan

Under

Registration

Set the

Non-authenticated role:

to your

invited user

Hope this helps...

Regards,

Christian Larsen

BradM’s picture

ah o.k. thanks for the info.
I guess I didn't quite get what was meant by a "gmail" style invitation --- I don't want to have my site set up as by-invitation only. I just thought that it would be a neat feature to allow members to invite other people to the site, more like Facebook I guess.

Cheers

sivamunnaa’s picture

i applied given help content but my problem not solved.. so kindly send the procedure to reduce the 'Access Denied' when clicking on "invitation link"