feat: support email-owned CRM templates #24
Open
KofTwentyTwo wants to merge 1 commits from
feature/shared-email-templates into develop
pull from: feature/shared-email-templates
merge into: QRun-IO:develop
QRun-IO:develop
QRun-IO:release/0.2
QRun-IO:main
QRun-IO:feature/orb-0.8-track
QRun-IO:feature/orb-0.7.18
QRun-IO:feature/orb-0.7.17
QRun-IO:release/0.1.0
QRun-IO:feature/orb-standardize-release-0.2
QRun-IO:feature/orb-standardize-release-0.1.0
QRun-IO:feature/orb-main-hotfix-standardization
QRun-IO:feature/shared-codeql
QRun-IO:feature/orb-0712-stable-gate
QRun-IO:feature/orb-rc-worker
QRun-IO:feature/orb-0.7.11
QRun-IO:feature/central-ci
QRun-IO:feature/shared-product-catalog
QRun-IO:feature/crm-setup-admin-only
QRun-IO:ci/release-rc-secrets-inherit
QRun-IO:fix/producer-version-from-build
QRun-IO:fix/help-bundle-version
QRun-IO:feature/help-bundle
QRun-IO:feature/health-system-session
QRun-IO:feature/tables-populated-defaults
QRun-IO:feature/ui-polish
QRun-IO:feature/pii-tenancy-api
QRun-IO:feature/platform-reuse
QRun-IO:feature/record-actions
QRun-IO:feature/app-home
QRun-IO:feature/intake-api
QRun-IO:feature/platform-4.1
QRun-IO:feature/crm-v2-spec
QRun-IO:feature/contingent-possible-values
QRun-IO:feature/release-rc-automation
QRun-IO:feature/ga-only-release-tags
No Reviewers
Labels
Clear labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
java
question
release:rc
secuurity
wontfix
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Good for newcomers
Extra attention is needed
This doesn't seem right
Pull requests that update java code
Further information is requested
Merging this develop PR cuts the next release candidate
This will not be worked on
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: QRun-IO/qbit-crm#24
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
CRM currently owns a separate email-template table and renderer. Add explicit non-tenant host opt-in to shared qbit-email templates, so email owns rendering and outbox provenance while CRM retains its existing action authorization, caller-visible variables, delivery categories and exact sent-subject history.
Validation: Java21, UTC,
./mvnw.cmd -B verify dependency:treewith no dependency overrides: 500 tests, zero failures/errors/skips, Checkstyle and required JaCoCo gates PASS. Full command BUILD SUCCESS in 1m02s. Coverage includes all45 action tests, checked real email transport, shared metadata and core/legacy health context parity.Effective dependencies contain public email RC10 and QQQ core RC20, with no LOCAL artifacts. Resolved email JAR SHA256 matches the Maven Central download. Independently checked Central POM/JAR/sources and detached signature presence; all95 published Java sources match reviewed email PR30. Signed release tag points to38390d74bd1171248e0d39713562e88962edc1dc, differing from PR30 merge only by its release version. Artifact signatures were checked for presence, not cryptographically verified.
Host adoption remains a separate migration/rollout: quiesce CRM writes/workers, recheck counts, migrate populated rows and references with backups/provenance, then enable shared templates. No implicit tenant migration or broad email administration grant.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.