posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Unable to re-invite a user that has been deleted

Open guidoiaquinti opened this issue 3 years ago • 3 comments

Bug description

I'm unable to re-invite a user that has been deleted from a project.

How to reproduce

  1. invite user [email protected]
  2. [email protected] completes the registration
  3. [email protected] gets deleted by a project admin
  4. [email protected] gets re-invited by a project admin
  5. [email protected] can't complete the registration

Additional context

See Slack thread.

guidoiaquinti avatar May 23 '22 09:05 guidoiaquinti

I'm pretty sure they can be re-added, they just need to log in with their existing account to accept the invite. I can see how this may not be the most intuitive on single-organization self-hosted instances, but deleting the user then would for instance cause "created by" fields to go blank, which wouldn't be a great user experience for the remaining user. Perhaps the fix here should be just to make it clear that when a user is removed from an org, their PostHog account is NOT removed altogether.

Twixes avatar May 23 '22 10:05 Twixes

Thank you for the additional context @Twixes. I agree with you the current behaviour is not very intuitive. In this case, what would be the suggested user flow for a self-hosted instance without email configured and with a user that can't recover the password of the account? Deleting and re-creating the user will not work.

guidoiaquinti avatar May 23 '22 10:05 guidoiaquinti

This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.

posthog-bot avatar May 23 '24 07:05 posthog-bot

This issue was closed due to lack of activity. Feel free to reopen if it's still relevant.

posthog-bot avatar Jun 06 '24 07:06 posthog-bot