Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow logged in users to join from invite #2244

Merged
merged 12 commits into from Nov 20, 2020
Merged

Allow logged in users to join from invite #2244

merged 12 commits into from Nov 20, 2020

Conversation

Twixes
Copy link
Collaborator

@Twixes Twixes commented Nov 5, 2020

Changes

Previously carried over invite view behavior from the old Team-based way, but now users can be in multiple organizations, so this allows existing, logged in users to join another organization from an invite link.

@timgl timgl temporarily deployed to posthog-multi-org-invit-5ux5hl November 5, 2020 15:27 Inactive
posthog/urls.py Show resolved Hide resolved
@Twixes Twixes temporarily deployed to posthog-multi-org-invit-5ux5hl November 5, 2020 15:33 Inactive
@Twixes Twixes requested a review from timgl November 13, 2020 07:27
Copy link
Collaborator

@mariusandra mariusandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments below, but looks good enough to me. Approved! See yourself if there's anything to change or not.

Sorry this took so long to get through. I've been very far from the organization work and this took a big context switch (and 1h) to get through, thus I kept putting it off for a week...

posthog/models/organization.py Show resolved Hide resolved
posthog/models/user.py Show resolved Hide resolved
posthog/models/user.py Show resolved Hide resolved
@Twixes Twixes merged commit 84f4946 into master Nov 20, 2020
@Twixes Twixes deleted the multi-org-invites branch November 20, 2020 13:47
@Twixes
Copy link
Collaborator Author

Twixes commented Nov 20, 2020

Thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants