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

Invite guest users by email, don't add right away #819

Closed
wants to merge 3 commits into from

Conversation

rmunn
Copy link
Contributor

@rmunn rmunn commented May 24, 2024

Fixes #815.

Now the bulk-add button and the Create User modal will send invitations, rather than creating user accounts immediately, if an email address is given. (Username-only accounts are still created immediately, because we don't have an email address to send an invite to.)

rmunn added 2 commits May 24, 2024 13:21
We're going to change the Create User dialog for admins, and the Bulk
Add feature, to send invitation emails to any users who have an email
address, rather than automatically adding them without their input. This
means that some invitation emails will need to be sent out without a
project ID attached.
Now, when admins add an email address to the bulk-add dialog, that user
will receive an invitation email instead of being added immediately.
@rmunn rmunn self-assigned this May 24, 2024
Copy link

github-actions bot commented May 24, 2024

UI unit Tests

11 tests  ±0   11 ✅ ±0   0s ⏱️ ±0s
 3 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit a08e682. ± Comparison against base commit 5c40148.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented May 24, 2024

C# Unit Tests

35 tests  ±0   35 ✅ ±0   5s ⏱️ -1s
 8 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit a08e682. ± Comparison against base commit 5c40148.

♻️ This comment has been updated with latest results.

Now admins will create users if they just have usernames, but send email
invites instaed if they type an email address.
@rmunn rmunn marked this pull request as ready for review May 24, 2024 08:28
@rmunn rmunn requested review from myieye and hahn-kev May 24, 2024 08:28
@rmunn rmunn changed the title WIP: Invite guest users by email, don't add right away Invite guest users by email, don't add right away May 24, 2024
Copy link
Contributor

@myieye myieye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't really looked at the code.
But I really don't like this approach to solving the problem. 😢
So, I'm just making that explicit here as well 😉.
I don't suggest actually making any changes until there's a consensus.

@hahn-kev
Copy link
Collaborator

Talked with Tim about this and I don't actually think this is the way we will go. Sorry for sending you down the wrong path @rmunn that's my fault.

My thoughts are here: #815 (comment)

@hahn-kev hahn-kev closed this May 28, 2024
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.

Consider GDPR implications of creating guest users with email addresses
3 participants