[VS-NfD] Mark attachment downloads by filename prefix and companion file #212
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#212
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan reference:
20-massnahmenplan.md-> P1-2 (output channels)ADR: ADR 0022
Effort: M (1–2 AT)
Depends on: #204
Context
An attachment leaves the application as an opaque binary — we cannot write
into arbitrary file formats, so the marking has to live in the name and in
an accompanying file. This is the channel where an honest limitation must
be documented rather than papered over.
Current state
apps/api/src/files/files.controller.ts:51,71;Content-Dispositionis set for the pond ZIP(
import-export/export.service.ts:68) and the single-page Markdowndownload (
apps/api/src/pages/pages.controller.ts:122).#204 on
Page, and an attachment links to a page).Acceptance criteria
documented filename prefix, and a companion text file (or the
containing archive) states the classification.
for the case where its
pageIdlink is unset (paste-then-insert) —fail closed, and documented.
unchanged filename for an unclassified one; unset
pageIdbehaves asdocumented.
recorded in #231, not hidden.
Out of scope
Writing markings into file formats (PDF/Office attachments), and blocking
downloads (#213 covers the upload side).
Done in PR #271 (commit
e505fc7, CI runs 559+560 green, fast-forward merged on Stefan's standing merge instruction).Evidence: