Skip to content

[Bug]: Sharing files to public via emails should not be displayed in UI if it is turned off in settings #59083

@oleua

Description

@oleua

⚠️ This issue respects the following points: ⚠️

Bug description

After the last update in v32 I've found that the files sharing UI contains the section 'External shares', explaining "Share files with others outside your organization via public links and email addresses. You can also share to {productName} accounts on other instances using their federated cloud ID."

At the same time in sharing settings the option "Allow users to share via link and emails" and Federation is off.

Steps to reproduce

  1. Go to File sapp. Click Details
  2. Go to section Share
  3. Observe External shares
Image

Expected behavior

This section should be hidden if "Allow users to share via link and emails" is off.

Nextcloud Server version

32

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap32-feedbackbug

    Type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions