-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(sharing): hide external sharing section when link sharing disabled #57630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
/backport to stable32 |
|
/backport to stable31 |
| || $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) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
8604fdb to
08f2c69
Compare
|
/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>
08f2c69 to
b034fd3
Compare
|
/compile |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
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".