chore/medium-low-hardening #29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/medium-low-hardening"
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?
Addresses the Medium findings from the codebase review. Stacked on
security/tenant-isolation, so review/merge that PR first (or retarget this
one to main after it merges).
newly deployed migrations (relies on the idempotent migrations table).
exceeded under concurrency.
--expires-in-days, api-key:revoke).
an unclassified product.
as data.
Verification: 171 tests pass; phpstan level 8 clean.
SettingsAction wrote $_SESSION['auth_user']['locale'] at the top level, but authentication lives under $_SESSION['tenants'][<tenant>]['auth_user'] (TenantAwareSessionManager). The locale update therefore silently no-op'd and bypassed the session abstraction. Inject TenantAwareSessionManager and update the locale via get/setTenantSessionValue('auth_user') so the change actually persists. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>