Skip to content

32485 - Email notification for new accounts#3642

Merged
Jxio merged 14 commits intobcgov:mainfrom
Jxio:32485
Feb 27, 2026
Merged

32485 - Email notification for new accounts#3642
Jxio merged 14 commits intobcgov:mainfrom
Jxio:32485

Conversation

@Jxio
Copy link
Collaborator

@Jxio Jxio commented Feb 26, 2026

Issue #:
bcgov/entity#32485

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).

@Jxio Jxio self-assigned this Feb 26, 2026
@Jxio Jxio requested review from ochiu and seeker25 as code owners February 26, 2026 00:22
@Jxio Jxio marked this pull request as draft February 26, 2026 00:22
@Jxio
Copy link
Collaborator Author

Jxio commented Feb 26, 2026

bcgov/sbc-common-components#395 merge first

@Jxio Jxio changed the base branch from main to feature-2.12.11 February 26, 2026 15:56
@Jxio Jxio marked this pull request as ready for review February 27, 2026 00:05
@Jxio Jxio changed the base branch from feature-2.12.11 to main February 27, 2026 00:05
Copy link
Collaborator

@seeker25 seeker25 left a comment

Choose a reason for hiding this comment

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

How would we know which user created an org then? If the user could be None?
image

I don't think you want people without a user row creating an org, plus it's needed for membership (relationship between user_id and org_id)

Also you don't typically change your production code just so the unit tests pass, it's usually the other way around - if the unit tests aren't creating a proper user row from the start then you're taking a flow that typically isn't ran in production?

I don't see any rows in prod with an empty created_by_id

@bcgov bcgov deleted a comment from Jxio Feb 27, 2026
Copy link
Collaborator

@seeker25 seeker25 left a comment

Choose a reason for hiding this comment

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

LGTM, just small tweak please

@sonarqubecloud
Copy link

@Jxio Jxio merged commit cc63dd5 into bcgov:main Feb 27, 2026
13 of 15 checks passed
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.

2 participants