Playabl-io / playabl

https://app.playabl.io
GNU Affero General Public License v3.0
7 stars 3 forks source link

Duplicate community memberships #146

Closed jongrim closed 1 year ago

jongrim commented 1 year ago

Describe the bug It was discovered a small number of users had duplicate community membership records which broke the UI. Limit creating a record to only if access isn't granted already.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

jongrim commented 1 year ago

This issue is resolved by #189

jongrim commented 1 year ago

This wasn't closed by the above PR, but a constraint was added to make sure you don't duplicate a community membership