Commit Graph
2 Commits
Author SHA1 Message Date
Tom MoorandClaude Fable 5 6d20caa072 fix: Load personalOwnerId when evaluating read policy in RevokeUserNotificationsTask
The task's minimal attribute list predates the personal owner check in the
read policy, and strict attributes turns the missing column into an error.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-06 17:25:13 +09:00
Tom MoorandClaude Opus 5 72aa0f0063 fix: Remove associated notifications when access is lost (#13208)
* review

* Revoke notifications when a document is moved

Moving a document into a collection the recipient cannot read leaves a
notification holding the title and text, so schedule a revocation check
for each recipient of the moved document and its descendants.

Also adds coverage proving drafts are revoked through the document path,
and notes why the scoped query includes them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-23 21:10:44 -04:00