Skip to content

Proposal: allow sending invitations to the same email address multiple times #253

@Flimm

Description

@Flimm

I wanted to see what you thought about this, before I attempted to implement it.

If a user tries to create an invitation to an email address, they may receive this error, if another invitation exists with the same email address:

AlreadyInvited User has a valid, pending invitation

or:

AlreadyAccepted User has already accepted an invitation

They may also see this error, if there is a user account with that email address:

UserRegisteredEmail This email is already registered by a site user

The problem with these errors is that they are potential security vulnerabilities. If I invite a user at a certain email address, I may not want that information leaked to other users as they send invitations. Likewise, if I sign up to a website using a certain email address, I may not want other users to work out that my email address was used to register an account on the website.

Here is another problematic scenario: a user may accept an invitation, and then subsequently, delete their account. They cannot be invited again to the website on the same email address, because of the error AlreadyAccepted.

There is also a usability problem. Users may want to send an invitation email more than once. Maybe the last email was sent two years ago, and the invitee cannot be expected to root through their email archives to find it. These errors prevent invitation emails from being sent multiple times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions