Search results respect who is asking
· One min read
Full-text search was returning matches from the index without checking whether the person searching was allowed to see them.
{/* truncate */}
Search now resolves the caller's visible set and fails closed: if the permission check cannot complete, nothing is returned rather than everything.
Search is where an authorisation gap does the most damage. It is the one feature whose entire job is to surface things you did not know existed.