Files
outline/server/routes/api/revisions
Tom MoorandClaude Opus 5 f81f55ac0f fix: Align history visibility with document restore access in trash (#13407)
Listing revisions loads the document with paranoid disabled so that history
remains available for a document in the trash, but the accompanying policy
check does not consider deletedAt. Apply the same gate documentLoader uses,
so trashed history follows the same access rules as the document itself.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-13 07:43:28 -04:00
..