Download & Extend

Access Denied error message when resending an expired invitation

Project:Invite
Version:6.x-2.0-alpha1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I ran across a problem when resending an expired invitation I get an 'Access Denied' error message. Solution in patch file attached worked for our particular use. Whenever an invitation is sent, whether it is a normal invite or a resend, system will redirect you to the invite overview page.

Comments

#1

Also modified text on invitations overview in attached patch.
Changed 'No invitations available.' to 'No accepted invitations. Click here to view pending invitations.'

AttachmentSize
987644-redirect_to_inviteoverview_after_sending_invite.patch 1.86 KB

#2

I re-rolled this patch with a slight change. Instead of issuing a drupal_goto, this simply re-uses the form_state redirect that already exists and send the user to invitations instead of invitations/pending. Also, this patch is against the latest 6.x-2.x.

AttachmentSize
redirect_to_invites_not_pending-987644-2-D6.patch 1.28 KB

#3

This version of the patch was rolled against 6.x-2.0-alpha1 for anyone who may be running that version. Otherwise, it may be ignored and the patch in #2 used.

AttachmentSize
redirect_to_invites_not_pending-987644-3-D6.patch 1.28 KB
nobody click here