bcgov / bcgov/entity

Invite can be sent to same email address that is pending approval

Open
#2,768 0 comments 0 reactions 0 assignees View on GitHub
Pay
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

- can be re-phrased as a user story
----

**Describe the bug in current/ situation**
Owner was able to send invite to an email address that had already joined the account

**Impact of this bug**
Describe the impact, i.e. what the impact is, and number of users impacted.

**Pre Conditions (which Env, any pre-requesites or assumptions to execute steps?**
Member has accepted the invitation and owner has gotten the notification for the same in pending approval tab

**Steps to Reproduce**
Steps to reproduce the behavior:
1. As an owner, Go to 'Team Members'
2. Click on 'Invite people'
3. Add email address same as the user who had already joined the account

**Actual/ observed behavior/ results**
Member accepts the invitation and owner is able to see the notification in pending approval tab. However, use can send invite to the same email id again.

**Expected behavior**
System should show error message that invite is pending approval or duplicate email id or anything else that is relevant.

**Screenshots/ Visual Reference/ Source**
![Screen Shot 2020-02-21 at 8.17.58 AM.png](https://images.zenhubusercontent.com/5e3c69ca69d8804ca9f11729/f67c6109-caf1-470e-a386-1cb65d41db18)
![Screen Shot 2020-02-21 at 8.17.58 AM.png]![Screen Shot 2020-02-21 at 8.18.01 AM.png](https://images.zenhubusercontent.com/5e3c69ca69d8804ca9f11729/19857dd9-92f3-4223-818a-c14d94eaa761)
* Link to the User Story (that relates to the bug)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.