feat(api): email org owners/admins when a portal access request is submitted (CS-522)#3494
Open
github-actions[bot] wants to merge 2 commits into
Open
feat(api): email org owners/admins when a portal access request is submitted (CS-522)#3494github-actions[bot] wants to merge 2 commits into
github-actions[bot] wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
All reported issues were addressed across 6 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
Contributor
|
@cubic-dev-ai please review it. |
Contributor
@chasprowebdev I have started the AI code review. It will take a few minutes to complete. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automated pull request to merge chas/send-email-for-access-requests into dev.
It was created by the [Auto Pull Request] action.
Summary by cubic
Implements CS-522: send email notifications to org owners/admins when an access-request form is submitted, with a clear review link. Adds a notifier and email template, wired into form submission and honoring unsubscribes.
New Features
EvidenceFormsNotifierServiceto email active owners/admins, skipping the submitter and users unsubscribed via@trycompai/email.EvidenceAccessRequestSubmittedEmailwith a "Review Request" link to the submission.access-requestsubmissions inEvidenceFormsService; module provides the notifier.NEXT_PUBLIC_APP_URLorBETTER_AUTH_URL(fallbackhttps://app.trycomp.ai); tests cover recipients and unsubscribe behavior.Bug Fixes
isActivefilter assertion in the notifier spec to align with the query that excludes deactivated and inactive members.Written for commit ca9c878. Summary will update on new commits.