Skip to content

fix(sharing): only use lookup for recipient search on GlobalScale - #66914

Open
lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-66865-sharing-recipient-local-users
Open

lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-66865-sharing-recipient-local-users

Conversation

@lazerg

@lazerg lazerg commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Searching recipients through the unified sharing API never returned local users. The search passed lookup = true, and Search::filteredSearch() skips UserPlugin whenever lookup is on and a lookup server is set, which is the default. Lookup is only used on GlobalScale, so the search now passes the GlobalScale state instead of true.

TODO

  • Pass GlobalScale state as the lookup flag

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: lazerg <lazerg2@gmail.com>
@lazerg
lazerg requested a review from a team as a code owner November 21, 2026 04:44
@lazerg
lazerg requested review from Altahrim and salmart-dev and removed request for a team November 21, 2026 04:44

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unified sharing: recipient search never returns local users

1 participant