Invite not recognized if user joins without clicking link in invite email

AI-generated summary

tobiaseigen reported an issue where invitations are not automatically recognized when users sign up without clicking the invite link. They detailed the steps to replicate the bug, which involves inviting a user to a private group, the user signing up without using the invite link, and consequently not having access to the private group until they explicitly click the invitation link in their email.

codinghorror acknowledged this as a feature that should be added and asked @techapj to assess the workload. techAPJ confirmed they were working on it and later shared a link to the pull request addressing this feature on GitHub.

This summary outlines a user-reported bug, its confirmation as a needed feature, and the development progress to implement automatic recognition of invitations regardless of how users sign up.

I just invited a handful of people to my discourse and one of them signed up without clicking the link in the invite email. So he is a user on the site but is not in the private group I invited him to and my own invite has not been redeemed.

The functioning I expect is different - the user should immediately be added to the group once logged in and the invitation should be redeemed.

To replicate bug:

  1. invite test user and add to private group at same time
  2. login with email address of test user
  3. see categories as test user - you don’t have access to private group
  4. log in as inviter and see the invitation has not been redeemed
  5. go back to email and click invitation
  6. see categories as test user again - you will now have access to private group
  7. log in as inviter and see invitation has been redeemed
2 Likes

This is a feature we should add, @techapj. Can you scope out how much work it would be?

2 Likes

I am working on this today.

1 Like

PR for this feature:

https://github.com/discourse/discourse/pull/2501

4 Likes

This topic was automatically closed after 3 days. New replies are no longer allowed.