Files
outline/server
Tom MoorandClaude Opus 5 046526839c fix: Guests can enumerate users and groups through mention suggestions (#13330)
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>
2026-08-07 08:08:15 -04:00
..