Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Automatic Invitation Acceptance For Existing Users #143

Merged
merged 4 commits into from
Apr 30, 2021

Conversation

dljfield
Copy link
Contributor

This was prompted by Issue #126, where users who are only in the system
via an invitation, who subsequently get removed from the workspace they
were invited to, were unable to access the application at all to either
create their own workspace or accept an invitation to another existing
one.

By automatically accepting invitations that are made to existing users,
we avoid having to do things like deleting users if they have no
workspace, or adjusting the system so that it workspaceless users can
access workspace management features to create or accept invitations to
workspaces.

Additionally, this removes friction from adding users to new workspaces
in any given SendPortal instance. It seems unlikely that someone would
actually want to reject an invitation, given that it is a self-hosted
platform.

The ability to manually accept invitations has not been removed, as
there may be cases where invitations already exist that haven't yet
been handled.

This was prompted by an issue where users who are only in the system
via an invitation, who subsequently get removed from the workspace they
were invited to, were unable to access the application at all to either
create their own workspace or accept an invitation to another existing
one.

By automatically accepting invitations that are made to existing users,
we avoid having to do things like deleting users if they have no
workspace, or adjusting the system so that it workspaceless users can
access workspace management features to create or accept invitations to
workspaces.

Additionally, this removes friction from adding users to new workspaces
in any given SendPortal instance. It seems unlikely that someone would
actually want to reject an invitation, given that it is a self-hosted
platform.

The ability to manually accept invitations has not been removed, as
there may be cases where invitations already exist that haven't yet
been handled.
This rewords the invitation email to remove the reference to needing
to log in and accept (or reject) the invitation.

Additionally, because we already had HTML tags in place, this replaces
using <br><br> with paragraph tags.
@JonoB JonoB merged commit d341874 into master Apr 30, 2021
@JonoB JonoB deleted the feature/automatic-invitation-acceptance branch April 30, 2021 09:57
rockbuzz pushed a commit to rockbuzz/sendportal that referenced this pull request Jan 29, 2022
…n-acceptance

[Feature] Automatic Invitation Acceptance For Existing Users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants