thestrabusiness/mastermind-hub

Duplicate groups being created for group owners

Closed this issue · 1 comments

Describe the bug
Started a group, and received an email to join and also an invite.

To Reproduce
Steps to reproduce the behavior:

  1. Start a new group
  2. Specify my email address (as a member)
  3. Receive welcome email
  4. Go to Invites page
  5. Accept invite

Expected behavior

"You're already a member of this group"
"Can't join a group you're already a member of"

or...idempotent/nothing happens.

Screenshots
image

It sounds like we shouldn't send emails out to the person creating the group.

We also need validations around group membership: A user can only have a single membership per group.