Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Dec 4, 2025

Manual backport : #56501

When `show_federated_shares_to_trusted_servers_as_internal` is enabled,
lookup server results were being filtered out because they lacked the
`isTrustedServer` flag. This adds the flag to lookup results by:

- Injecting TrustedServers service into LookupPlugin
- Adding `server` and `isTrustedServer` fields to each lookup result
- Updating tests to reflect new structure

This ensures lookup results from trusted servers appear in internal
sharing while non-trusted servers are correctly filtered out.

Signed-off-by: nfebe <[email protected]>
@nfebe nfebe requested a review from a team as a code owner December 4, 2025 10:53
@nfebe nfebe requested review from ArtificialOwl, icewind1991, leftybournes and salmart-dev and removed request for a team December 4, 2025 10:53
@github-actions github-actions bot changed the title fix(sharing): Add isTrustedServer flag to lookup results [stable32] fix(sharing): Add isTrustedServer flag to lookup results Dec 4, 2025
@nfebe nfebe self-assigned this Dec 4, 2025
@nfebe nfebe added the 3. to review Waiting for reviews label Dec 4, 2025
@nfebe nfebe added this to the Nextcloud 32.0.3 milestone Dec 4, 2025
@nfebe nfebe enabled auto-merge December 4, 2025 11:08
@nextcloud-bot nextcloud-bot mentioned this pull request Dec 4, 2025
1 task
@nfebe nfebe merged commit 429e999 into stable32 Dec 4, 2025
215 of 222 checks passed
@nfebe nfebe deleted the backport/56501/stable32 branch December 4, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants