searcher: enforce sub-repo perms at api level
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: bobheadxi
A crude implementation of #26647 (closed) by implementing enforcement as high up as possible, right before matches get sent to the client. I believe this covers indexed/unindexed/etc search that goes over repository file contents.
This requires adding searcher
to the allowlist of dbconn
importers.
Push commits to the source branch or add previously merged commits to review them.