fix: close two gaps the last audit round left open

- give the delegated-action inventory a leg that can falsify its level
  axis: the walked module set must strictly exceed the manage-only one,
  anchored on a route that never asks for manage
- declare AUDIT_LOG_RETENTION_DAYS and SESSION_COOKIE_SECURE in the env
  manifest, so the pre-deploy check reports the two settings operators
  are told to set, and hold manifest, compose whitelist and both example
  files in step
This commit is contained in:
Marc-André Bombeck committed 2026-08-07 02:26:29 +02:00
1 parent 6bfcccd755
commit e4870f3b5f
3 files changed
+92 -2

No files matched your search

+17
View File
@@ -241,6 +241,23 @@
"purpose": "Separate AES key for the backup body — MUST NOT match ENCRYPTION_KEY."
}
]
},
{
"name": "Operational windows and cookie flags",
"description": "Values the product states back to a user or that decide whether a session cookie is accepted. Optional: each has a documented default. They are listed so `pnpm check-env` reports them, and so the compose whitelist and the example files can be held in step with this manifest.",
"required": false,
"variables": [
{
"name": "AUDIT_LOG_RETENTION_DAYS",
"purpose": "How long audit rows survive, in days (365 by default). Published, not merely enforced: the shared-access activity feed and the dialog that ends somebody's access both state the number back to the user.",
"example": "365"
},
{
"name": "SESSION_COOKIE_SECURE",
"purpose": "Forces the Secure flag on every cookie the app issues. Unset, it tracks NODE_ENV. Set false for a LAN / VPN-only self-host served over plain HTTP, where the default makes login look broken.",
"example": "false"
}
]
}
]
}