tdm-calculator icon indicating copy to clipboard operation
tdm-calculator copied to clipboard

Dev: Bug: Share snapshot allows sharing with same email more than once

Open ExperimentsInHonesty opened this issue 2 months ago • 1 comments

Describe the bug

Share snapshot is allowing users to add the same email more than once.

Steps to Reproduce

    1. Login as Admin
    1. Go to My Projects
    1. Filter by Snapshots
    1. Filter by projects owned by admin
    1. Click on kebab
    1. Click on Share Snapshot
    1. Add the same email twice
    1. See error: multiple emails are added (see screenshot
Example of error including Project where you can see problem now
  • Project Name: snapshot
  • Project ID: 00000-00799
Image

Expected Result

Would only allow email to be added once. Give an error message if they try to add it twice

Snapshot is already shared with {email}

Device Configuration

  • Device: Macbook pro
  • OS version: not relevant
  • Browser: Chrome
  • Browser version: not relevant
  • other: there was a problem with the application today, it was super slow. So if the current process relies on seeing whats in the database, that might have been what caused it to allow me to add so many of the same email addresses.

Action Items

  • [ ] Fix bug.
  • [ ] Review with development lead.
  • [ ] Review with product, development, and research teams. Update if needed based on feedback.
  • [ ] Once finalized, add a slide to the staging deck (see resources)
  • [ ] Get Stakeholder sign-off via the stakeholder meeting slide deck.

Resources/Instructions

Staging and Release decks

ExperimentsInHonesty avatar Nov 05 '25 18:11 ExperimentsInHonesty

  • Already implemented under Issue #2600, PR #2652
Image

-Should be closed as a duplicate issue.

entrotech avatar Nov 13 '25 02:11 entrotech

Duplicate of #2600

ExperimentsInHonesty avatar Jan 15 '26 00:01 ExperimentsInHonesty