fix(health): run the context-less health check as the system user #24

Merged
KofTwentyTwo merged 1 commits from feature/health-system-session into develop 2026-10-14 22:36:42 +00:00
1 Commits
Author SHA1 Message Date
james.maesandClaude Opus 5.5 e2d07b275a fix(health): run the context-less health check as the system user
BackupsHealthIndicator made its own context with a plain tokenless
QSession. Token-based authentication modules (OAuth2, Auth0) reject any
tokenless session other than QSystemUserSession, so the plan query failed
session validation and the check errored on such hosts (kof22). Use core
QSystemUserSession(instance).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 15:14:13 -05:00