mirror of
https://github.com/outline/outline.git
synced 2026-12-04 02:20:17 +03:00
suggestions.mention queried User and Group scoped only by team, while users.list and groups.list both authorize against listUsers/listGroups, which exclude guests. presentUser withheld the email, but membership in the result set was unconditional and the query matched on email, so a guest could enumerate the workspace and probe for addresses. Gate both reads on the same policies. Documents and collections already scope to the actor, so guests keep those suggestions. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>