cal.diy
cal.diy copied to clipboard
It's possible to invite a member that was already invited in the Organization tab
Issue Summary
It's possible to invite a member that was already invited in the Organization tab. If you try it from the Invite individual tab, it's not.
Note: It happens to the Bulk import tab as well
Steps to Reproduce
- Create an organization (/settings/organizations/new) and add a team
- Add a few members to the Organization (/settings/organizations/members)
- Go to add members to the team created (/settings/teams/[id]/members)
- From the Invite individual tab, add a specific member
- Try to add this same member again.
- Note that a message
Member has already been invitedwill be shown - From the Organization tab, select a member from the list to add to the team
- Try it again selecting the same member
- Note that a notification that the member was added will be shown and also another invitation email will be sent
Actual Results
- Members that were already invited can be invited again
Expected Results
- If a member was already invited, the system should be able to avoid inviting it again.
Technical details
- Tested on Chrome (114.0.5735.134)
Evidence
https://www.loom.com/share/0c9376ad8b2d4ec1ba01774ba3d33890