GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Persist explicit platform or own SMTP mode without reclassifying legacy tenants · Issue #277 · OpenResilienceInitiative/ORISO-TenantService

Persist explicit platform or own SMTP mode without reclassifying legacy tenants #277

New issue
Copy link
New issue
Copy link
Closed
Task
Closed
Persist explicit platform or own SMTP mode without reclassifying legacy tenants#277
Task
Copy link
Assignees
Storypapst

Description

@Storypapst
Storypapst
opened on Sep 25, 2026
Issue body actions

Affected repos: ORISO-TenantService; Admin and UserService consume this contract.

Why

A tenant must explicitly choose the platform mail server or its own server. The old smtp.enabled flag cannot represent that choice, and silently interpreting old settings as platform mail could route messages through the wrong sender. This package implements the stored choice required by Frontend #1562 and the ADR-026 addendum.

Current delivery status — 30 September 2026

Working status: In progress; planned for v2.0.10.

Developed: Explicit PLATFORM/OWN mode is proposed in TenantService #287.

Still open: Human review, legacy-mode migration and both-mode Dev proof remain.

Scope: Never infer OWN from partial credentials or fall back silently.

Relevant change Verified GitHub state
TenantService #287 Open for review; human review/merge remains.

Next action: Review TenantService #287 with tenant Admin source and migration semantics.

Acceptance still needed: Both modes retain exact configured source after save, rotation and restart.

The release and lane are planning fields. Existing readiness scores are retained; neither a board move nor a green PR establishes deployment or received mail.

For developers — audit boundary (skip for the progress overview):

Updated: 2026-09-30 11:47 UTC.
Native child of https://github.com/OpenResilienceInitiative/ORISO-Frontend/issues/1562; live recursive Epic828 inventory contains58 unique descendants.
PR state/review/check snapshot:2026-09-30T11:29:19UTC. Source notes retain the dated code audit; this pass does not repeat every code or runtime test.
Current source, local verification, CI, human review, merge, deployment and real-mail receipt remain separate gates.
No new account, merge, deployment or acceptance was performed by this description update.

What to build

Persist PLATFORM or OWN in the tenant settings API. New tenants default to PLATFORM without copying platform SMTP settings into tenant data. Existing tenants keep an absent mode until audited. Preserve the stored mode on older full-replacement updates. Reject incomplete OWN configuration after retaining a write-only password. The constrained TenantService sender may use tenant SMTP only for explicit OWN, and may never use platform SMTP as an implicit fallback. Provide a read-only legacy-record audit guide that reports no credentials.

Acceptance

  • New tenants store PLATFORM and no tenant-owned SMTP copy.
  • A legacy tenant remains unclassified after an unrelated update; classify each legacy record only after an owner-reviewed audit.
  • Selecting incomplete OWN returns a clear error; a valid stored password survives an update that leaves it blank.
  • The constrained own-server sender does not decrypt or send for PLATFORM or an unclassified legacy tenant.
  • Admin and UserService read the explicit mode after their dependent PRs; real Dev receipts prove both routes separately.

Current delivery state

PR #278 is open against dev with two requested reviewers. Its current head 7cbb527 also fixes empty default settings; Java 21 local suite passed 771 tests and all seven current-head CI checks are green. The previous changes-requested review still needs re-review. The live legacy audit, merge, Dev deployment and two-mode received-mail proof remain open.

Reviewer test plan

  • Create a tenant, then read its settings → mode is PLATFORM and there is no copied platform SMTP account.
  • Save an unrelated setting on an older tenant without a mode → it remains unclassified.
  • Select OWN with a missing password → saving reports an error and no mail switches to platform relay.
  • Select OWN with complete details, then save with a blank password → the own-server setting remains usable and the API never returns the secret.
  • Attempt the constrained send for platform and legacy tenants → neither decrypts tenant credentials nor sends.

Activity

  1. Storypapst
    self-assigned this
    on Sep 25, 2026
  2. Storypapst
    added a parent issue on Sep 25, 2026
    • Decide: does a Träger without its own mail server send through the platform server? ORISO-Frontend#1562
  3. github-project-automation
    added this to ORISO Roadmapon Sep 25, 2026
  4. Storypapst
    added the
    Task
    issue type on Sep 25, 2026
  5. Storypapst
    set
    Priority
    to
    Urgent
    on Sep 25, 2026
  6. Storypapst commented on Sep 25, 2026

    @Storypapst
    Storypapst
    on Sep 25, 2026
    CollaboratorAuthor
    More actions

    Short thesis: Source for Persist explicit platform or own SMTP mode without reclassifying legacy tenants has reached the published-branch stage.

    Problem: A linked source branch or merged source exists. This score does not mean human approval, Dev deployment, a received email, or completion.

    Readiness: 10/20. This is the GitHub delivery ladder, not a development percentage.

    Next step toward the next level: Run the documented automated review loop, resolve valid findings, and collect the next review evidence.

    Related source: PR 287, PR 1076.

    Historical score context (superseded; preserved)

    Short thesis: The explicit tenant SMTP mode is implemented locally and ready for human code review; no Dev mail receipt exists yet.

    Problem: The old SMTP switch cannot distinguish platform mail from a tenant's own server, and legacy records must not be silently reclassified.

    Readiness: 10/20. #278 targets the current dev integration branch, has Hassan9215 and Shirloin requested, and passed 700 local Java 21 tests plus the package build. CI and human review are still pending. The older score wording names pre-dev; this repository's current delivery plan uses dev. No merge, deployment, legacy-record audit or received-mail test is claimed.

    Next step toward 11: Resolve automated review/CI findings on the PR and hand the bounded legacy audit to the operator before any existing tenant is assigned a mode.

  7. Storypapst
    set
    Platform release
    to
    v2.0.10
    on Sep 30, 2026
  8. Storypapst
    moved this from QA internal to QA external in ORISO Roadmapon Nov 4, 2026
  9. HelenaSKloeckner
    moved this from QA external to Done in ORISO Roadmapon Nov 18, 2026
  10. HelenaSKloeckner
    closed this as completedby moving to Done in ORISO Roadmapon Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Storypapst
    Storypapst

Labels

No labels
No labels

Type

Task

Fields

Priority

Urgent

Platform release

v2.0.10

Projects

  • ORISO Roadmap
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.