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

feat: add the send invitation email cli command for admin to compensate user invitation email failure #427

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

wood-push-melon
Copy link
Contributor

@wood-push-melon wood-push-melon commented Sep 25, 2024

This pull request tries to add a CLI command for the admins to compensate for email sending failure in the user invitation flow.

cmd/createEmail.go Outdated Show resolved Hide resolved
@wood-push-melon wood-push-melon marked this pull request as ready for review September 25, 2024 16:10
@wood-push-melon wood-push-melon requested a review from a team as a code owner September 25, 2024 16:10
Copy link
Contributor

@pik4ez-canonical pik4ez-canonical left a comment

Choose a reason for hiding this comment

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

LGTM.

I would assume that panic shouldn't be used wherever possible to gracefully handle the error (read as: most of the cases). But I see that currently it is widely used in the Admin UI repo, so shouldn't be a blocker for this PR. Most likely it's something that we may consider as a tech debt.

cmd/createEmail.go Show resolved Hide resolved
nsklikas
nsklikas previously approved these changes Sep 26, 2024
Copy link
Contributor

@nsklikas nsklikas left a comment

Choose a reason for hiding this comment

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

LGTM

cmd/createEmail.go Show resolved Hide resolved
BarcoMasile
BarcoMasile previously approved these changes Sep 26, 2024
Copy link
Contributor

@BarcoMasile BarcoMasile left a comment

Choose a reason for hiding this comment

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

LGTM, left a small suggestion for the command name change

@wood-push-melon wood-push-melon changed the title feat: add the create email cli command for admin to compensate user invitation email failure feat: add the send invitation email cli command for admin to compensate user invitation email failure Sep 27, 2024
@wood-push-melon wood-push-melon merged commit d4d91a4 into main Sep 27, 2024
10 checks passed
@wood-push-melon wood-push-melon deleted the IAM-1049 branch September 27, 2024 06:27
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.

5 participants