mirror of
https://github.com/outline/outline.git
synced 2026-12-01 09:22:14 +03:00
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>