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 <fenn25.fn@gmail.com>
@nfebe nfebe added this to the Nextcloud 31.0.12 milestone Dec 4, 2025
@nfebe nfebe added the 3. to review Waiting for reviews label Dec 4, 2025
@github-project-automation github-project-automation bot moved this to 🏗️ In progress in 📁 Files team Dec 4, 2025
@nfebe nfebe enabled auto-merge December 4, 2025 11:08
@nextcloud-bot nextcloud-bot mentioned this pull request Dec 4, 2025
7 tasks
@nfebe
Copy link
Contributor Author

nfebe commented Dec 4, 2025

Hello @AndyScherzinger or @sorbaugh can you please force merge this?!

@nextcloud-bot nextcloud-bot mentioned this pull request Dec 4, 2025
7 tasks
@Altahrim Altahrim merged commit c937eed into stable31 Dec 4, 2025
247 of 268 checks passed
@Altahrim Altahrim deleted the backport/56501/stable31 branch December 4, 2025 17:39
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

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

4 participants