GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — feat(mail-footer): name the Träger by its legal name and contact by Storypapst · Pull Request #1246 · OpenResilienceInitiative/ORISO-UserService Conversation
Collaborator
What happened#1239 builds the mail footer's sender block from the platform owner's Admin master data and lets a Träger override it field by field. A Träger could only override its name and address, because it had no contact field. So its mails still showed the platform owner's e-mail address under the Träger's name. TenantService now stores an optional full legal name, contact e-mail and contact phone per Träger (ORISO-TenantService What this PR does
BaseStacked on How to test it quickly
Tests
Verified: local only. Open questionThe contact line as one field: should a Träger that entered only a phone number really hide the platform owner's e-mail? Or should the e-mail and the phone number each fall back separately? This PR does the first, so that one line never names two organisations. 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionseinladung-freitext always printed "do not pass this link on" and "this
email is part of your invitation", also for the contract-signed notice
(DpaSignedNoticeService), which has neither a button nor an invitation.
The security row is now the conditional {{assuranceBlock}} (expanded by
OrisoEmailRenderer on the same actionUrl condition as {{ctaBlock}}, text
in {{assurance}}), and the footer line is {{footerNote}}: the invitation
note with an action, "sent automatically, please do not reply" without.
Output with an action is byte-identical to before. Templates mirror the
ORISO-Frontend kit (PR #1517).
Co-Authored-By: Claude Opus 5 <[email protected]>
The "AVV unterzeichnet" notice printed the zoneless UTC signedAt as-is, so a contract signed at 00:45 German time on 23.09. read "Unterzeichnet am: 22.09.2026 22:45 Uhr" on dev. Convert UTC to Europe/Berlin before formatting; covered for a summer (+2h, date rollover) and a winter (+1h) timestamp. The contract version stays verbatim because it is an identifier that must match the label the Admin shows. Co-Authored-By: Claude Opus 5.5 <[email protected]> When the tenant is only reserved and has no name yet, the forward mail
falls back to a generic name that the signing mail puts after "für"
("Vertragsunterlagen für …"). "Ihrer Organisation" is dative and wrong
there; "für" takes the accusative.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…system The DPA signing mail was the last legal-flow mail still built by hand: a 620px grey card with an "ORISO" bar, Arial and no legal footer, assembled in ConsultingTypeService. UserService now renders it from the kit's `avv-unterschrift` template with OrisoEmailRenderer and sends it over the same global SMTP path as the invite mail, so preview and sent mail come out of one renderer and are byte-identical. - DpaSigningMailRenderer fills the template: Träger name, sign link (button plus copy-link line), provided-at and expiry in German local time. - TenantEmailBrandValues holds the tenant-branding overlay the invite frame already used (name, logo via the tenant-pinned public logo route, accent), now shared, so both mails brand a tenant the same way. - InviteMailDispatchService.sendRendered sends an already rendered design-system mail with the same strict receipt/SmtpSendException contract. - DefaultDpaSigningEmailDispatchService no longer calls ConsultingTypeService. - avv-unterschrift templates and catalogue entry synced byte-identically from ORISO-Frontend (copy-link line, subject "Vertragsunterlagen für <Träger>"). Co-Authored-By: Claude Opus 5.5 <[email protected]> …e Träger, in the footer
Decisions by Frank (2026-09-23) for the Träger legal-flow mails:
- Mail copy never says "AVV" or "Auftragsverarbeitungsvertrag", always
"Vertragsunterlagen" (en: "contract documents"). avv-unterschrift is
re-synced byte-identically from ORISO-Frontend
`feat/email-kit-avv-copy-link-and-subject`; the DPA signed notice default
subject and body follow ("Vertragsunterlagen unterzeichnet – <Träger>").
- "X ist ein Angebot von Y" names the configured platform and its operator,
never the Träger. TenantEmailBrandValues overlays platformName with the
Träger name for the header; the offered-by line of avv-unterschrift and
einladung-freitext (invite mail and signed notice) now reads
`{{offeringName}}`, which OrisoEmailBrand fills with the platform name and
no overlay touches. It used to read "Caritasverband Musterstadt e.V. ist
ein Angebot von ORISO."
- The fine print no longer prints "e.V..": OrisoEmailRenderer drops the
template's full stop when a value already ends the sentence with one.
- A reserved tenant without a name reads "zwischen ORISO und Ihrer
Organisation" in the fine print (dative, `{{tenantNameDative}}`) while the
subject keeps "für Ihre Organisation". DpaSigningMailRenderer now owns both
fallbacks; DpaForwardEmailService passes no name instead of a wording.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…data The footer's sender block (name, postal address, contact line) is read from what the platform owner enters under Admin -> Globale Einstellungen -> Dokument-Stammdaten (TenantService /tenant/public/dpia, operator), with a Traeger's own name and address laid over it field by field (Frank, 2026-09-23). A value nobody entered stays empty. Co-Authored-By: Claude Opus 5.5 <[email protected]> A blank organisation name, address or contact line now takes its whole
footer line with it - including "X ist ein Angebot von Y" and the
contract sentence of the signing mail - instead of leaving an empty line
or needing a sample value. A value missing from the map entirely still
stays visible as {{placeholder}}.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
OrisoEmailBrand no longer carries email.brand.org-name/org-address/ contact-line with an "ORISO" default. Every design-system mail now names the platform owner as entered under Dokument-Stammdaten -> Betreiber, and a value nobody entered stays blank so the renderer drops its line. TenantEmailBrandValues takes the sender tenant as a parameter; the DPA signing mail passes none on purpose (its fine print names the operator as contract partner). Test fixtures no longer use a Musterstrasse sample or the app.oriso.org host. Co-Authored-By: Claude Opus 5.5 <[email protected]> …platform owner's The invite mail and the "Vertragsunterlagen unterzeichnet" notice now carry the Traeger's sender block: its name and, where it entered one, its address; everything it has not entered comes from the platform owner. The DPA signing mail keeps the operator as sender on purpose - its fine print names the operator as the Traeger's contract partner. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> In the plain-text half of einladung-freitext the 64-dash rule stood in the
template, outside {{assuranceBlock}}. A mail without an action (the
contract-signed notice) lost the security line but kept the rule, while
the HTML half drops both. The rule now travels inside ASSURANCE_BLOCK_TEXT,
the same unit as the HTML emailAssurance molecule. Output with an action is
unchanged.
The ORISO-Frontend kit text builder needs the matching change (the slot
carries its own rule); see the PR comment.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both change the einladung-freitext frame. Resolution keeps #1233's conditional {{assuranceBlock}} / {{footerNote}} and this branch's {{offeringName}} in the "is a service provided by" line; catalogue.json lists all three placeholders. Without this merge the branch conflicts once #1233 lands first, which is the agreed merge order. Co-Authored-By: Claude Opus 5.5 <[email protected]> The signing-mail branch took in #1233's conditional {{assuranceBlock}}. OrisoEmailRenderer conflicted only because both sides added constants at the same spot: the resolution keeps the assurance block constants and the sender-line patterns side by side, unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> CI failed in tests/ci/test_replica_safety_contract.py: the new PlatformOperatorOrganisationClient (AtomicReference) and TraegerOrganisationClient (ConcurrentHashMap) hold process-local state that replica-safety-components.json did not list. Both are five-minute TTL caches of TenantService reads, so they are inventoried like operator-dpa-content-cache: performance risk, bounded. Co-Authored-By: Claude Opus 5.5 <[email protected]> …ator
Product decision (Frank, 2026-09-23): in "X ist ein Angebot von Y", Y is
the platform operator from Admin -> Globale Einstellungen ->
Dokument-Stammdaten -> Betreiber, never the Traeger, even when the Traeger
overrides the sender name and address above it. X stays the platform name.
The two templates where a Traeger can overlay the sender block
(einladung-freitext, avv-unterschrift) now take Y from a new
{{operatorName}} token, which OrisoEmailBrand fills from the operator's
master data and TenantEmailBrandValues never overlays. An operator without
a name drops the sentence, as a blank sender value already does; the
Traeger never stands in. The signing mail keeps the operator as sender.
Tests first: InviteFrameMailRendererTest and DpaSignedNoticeFooterTest
failed on "... ist ein Angebot von Traeger Nord e.V." before the change.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
TenantService now stores an optional full legal name, contact e-mail and
phone per Träger (ORISO-TenantService feat/tenant-legal-name-and-contact).
- TraegerOrganisationClient uses the legal name as the sender name, else
the display name, and builds the Träger's contact line from its e-mail
and phone the same way as the platform owner's ("a · b").
- The contact line stays one field: a Träger that entered any contact
replaces the platform owner's whole line, so a line never names two
organisations.
- Tenant-admin onboarding accepts organisation.legalName, contactEmail and
contactPhone and creates the tenant with them. They are checked against
TenantService's limits and @Email rule before anything is created.
- services/tenantadminservice.yaml carries the three fields; the
TenantService provider pin moves to the commit that adds them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…r's legal name Co-Authored-By: Claude Opus 5.5 <[email protected]>
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
shazia-k
previously approved these changes
Storypapst
dismissed
shazia-k’s stale review
The merge-base changed after approval.
shazia-k
previously approved these changes
Storypapst
dismissed
shazia-k’s stale review
The merge-base changed after approval.
shazia-k
previously approved these changes
Storypapst
dismissed
shazia-k’s stale review
The merge-base changed after approval.
Hassan9215
approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | |
| 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. |