Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Nov 25, 2025

When showFederatedSharesToTrustedServersAsInternal is enabled, the trusted server filter was incorrectly applied to both internal and external sharing sections. This prevented users from sharing with federated users on non-trusted servers via the external share UI.

The filter now only applies to the internal section, allowing non-trusted federated shares to appear in the external section.

Fixes: #56622

@nfebe nfebe requested a review from a team as a code owner November 25, 2025 09:10
@github-project-automation github-project-automation bot moved this to 🏗️ In progress in 📁 Files team Nov 25, 2025
@nfebe
Copy link
Contributor Author

nfebe commented Nov 25, 2025

/backport to stable32

@nfebe
Copy link
Contributor Author

nfebe commented Nov 25, 2025

/backport to stable31

@nfebe nfebe force-pushed the fix/federated-share-external-filter branch from aa52ca4 to 8e788be Compare November 25, 2025 09:54
@nfebe
Copy link
Contributor Author

nfebe commented Nov 25, 2025

/compile

@nfebe nfebe enabled auto-merge November 25, 2025 09:55
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explanation makes sense but did not test

@nfebe nfebe force-pushed the fix/federated-share-external-filter branch from 6ace53e to 56856a2 Compare November 28, 2025 08:32
@nfebe
Copy link
Contributor Author

nfebe commented Nov 28, 2025

/compile

nfebe and others added 2 commits December 4, 2025 11:10
When `showFederatedSharesToTrustedServersAsInternal` is enabled, the
trusted server filter was incorrectly applied to both internal and
external sharing sections. This prevented users from sharing with
federated users on non-trusted servers via the external share UI.

The filter now only applies to the internal section, allowing
non-trusted federated shares to appear in the external section.

Fixes: #56622

Signed-off-by: nfebe <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
@nfebe nfebe force-pushed the fix/federated-share-external-filter branch from 69d1f20 to f41666f Compare December 4, 2025 10:10
@nfebe
Copy link
Contributor Author

nfebe commented Dec 4, 2025

/compile

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

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

[Bug]: cannot share to remote users with "show_federated_shares_to_trusted_servers_as_internal" set to true

5 participants