Keep sharing to known accounts when directory queries are off #283

Merged
jcoffey-dev merged 1 commits from fix/directory-off-acl-route into main 2026-11-02 01:31:12 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 44b0c4d16d Keep sharing to known accounts when directory queries are off
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 10m6s
Follow-up to #282. With "Allow Directory Queries" off, a regular user can only
add someone to a share if they already have a connection to that person, and
the refusal is the same whether or not the account exists. Applies to JMAP,
WebDAV and IMAP. Principal/get now also answers for the accounts on the
caller's own shares, so clients can show their names.
2026-11-01 17:37:04 -07:00