Skip to content

[master] sharing buttons are shown when sharing is disabled #35490

Description

@phil-davis

Steps to reproduce

  1. uncheck the Admin Sharing setting "Allow apps to use the Share API"
  2. login as some user with files and folders
  3. see and click the "sharing" icon for some file/folder

Expected behaviour

The sharing button is not even shown.
(this is what happens in stable10)

Actual behaviour

The sharing button is shown.
The sharing panel opens.
I can try and share with some user or group.
Then I get a message "Share API is disabled"

Server configuration

Operating system:
Ubuntu 18.04

Web server:
PHP dev server

Database:
MySQL

PHP version:
7.2

ownCloud version: (see ownCloud admin page)
current master

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions