Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Jan 18, 2026

Only show the external sharing section when link sharing is enabled or when federation is enabled and not configured to show as internal. When external sharing is hidden, simplify the section label from "Internal shares" to "Shares".

@nfebe nfebe requested review from a team as code owners January 18, 2026 17:16
@nfebe nfebe requested review from Altahrim, come-nc and szaimen and removed request for a team January 18, 2026 17:16
@nfebe
Copy link
Contributor Author

nfebe commented Jan 18, 2026

/backport to stable32

@nfebe
Copy link
Contributor Author

nfebe commented Jan 18, 2026

/backport to stable31

@nfebe nfebe added 3. to review Waiting for reviews feature: sharing labels Jan 18, 2026
|| $appConfig->getValueBool('files_sharing', ConfigLexicon::SHOW_FEDERATED_AS_INTERNAL);
$showExternalSharing = $appConfig->getValueBool('files_sharing', 'outgoing_server2server_share_enabled', true)
|| $appConfig->getValueBool('core', 'shareapi_allow_links', true);
$showExternalSharing = $appConfig->getValueBool('core', 'shareapi_allow_links', true)
Copy link
Contributor

Choose a reason for hiding this comment

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

does this also include mail shares?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. Mail shares are link shares under the hood

@nfebe nfebe force-pushed the fix/hide-external-sharing-when-links-disabled branch 2 times, most recently from 8604fdb to 08f2c69 Compare January 27, 2026 09:53
@AndyScherzinger
Copy link
Member

/backport to stable33

Only show the external sharing section when link sharing is enabled or
when federation is enabled and not configured to show as internal.
When external sharing is hidden, simplify the section label from
"Internal shares" to "Shares".

Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nfebe nfebe force-pushed the fix/hide-external-sharing-when-links-disabled branch from 08f2c69 to b034fd3 Compare January 30, 2026 00:44
@nfebe
Copy link
Contributor Author

nfebe commented Jan 30, 2026

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants