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

Promote guest users once they verify email #1032

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

rmunn
Copy link
Contributor

@rmunn rmunn commented Aug 23, 2024

Fixes #936.

Guest users who add an email address to their account and verify it get promoted from "guest" user status to "regular" user status, so they can now do things like becoming project managers, and so on.

Not much code here, but I believe this is all it takes. Any currently-existing guest users who have verified their email will not be affected by this PR, though, and will need some manual intervention to fix their status.

@rmunn rmunn self-assigned this Aug 23, 2024
@rmunn rmunn requested a review from hahn-kev August 23, 2024 04:52
Copy link

C# Unit Tests

66 tests   66 ✅  5s ⏱️
11 suites   0 💤
 1 files     0 ❌

Results for commit d068c99.

Copy link
Collaborator

@hahn-kev hahn-kev left a comment

Choose a reason for hiding this comment

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

looks good, I'm assuming you tested this to verify it works as expected?

@rmunn
Copy link
Contributor Author

rmunn commented Aug 30, 2024

Yes, it works; guest users can click the email verification link, and then they are allowed to request project creation. (And once their first project-creation request is approved, they can create more projects without needing approval.) So once guest users have verified an email address, their accounts work just like normal accounts.

I did run into #1044 while testing this, but that's unrelated to this PR so I opened a new issue for it.

@rmunn rmunn merged commit 4cb9103 into develop Aug 30, 2024
8 checks passed
@rmunn rmunn deleted the feat/validated-email-promotes-guest-users branch August 30, 2024 07:09
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.

guest users who add an email are still marked as created by admin
2 participants