Skip to content

[stable31] fix(sharing): Add isTrustedServer flag to lookup results - #56844

Merged
Altahrim merged 1 commit into
stable31from
backport/56501/stable31
Dec 4, 2025
Merged

[stable31] fix(sharing): Add isTrustedServer flag to lookup results#56844
Altahrim merged 1 commit into
stable31from
backport/56501/stable31

Conversation

@nfebe

@nfebe nfebe commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

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
@nfebe
nfebe enabled auto-merge December 4, 2025 11:08
@nextcloud-bot nextcloud-bot mentioned this pull request Dec 4, 2025
7 tasks
@nfebe

nfebe commented Dec 4, 2025

Copy link
Copy Markdown
Contributor Author

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

None yet

Development

Successfully merging this pull request may close these issues.

4 participants