Skip to content

"Save As" from CODE in link-shared folder can save in the folder of the user who created the share. #3830

@A-Aurel

Description

@A-Aurel

Describe the bug
When a guest "Saves as", guest can save in the folder of the user who created the share.

To Reproduce
Steps to reproduce the behavior:

USER creates a folder and shares a link with write access.
GUEST enters the folder, creates an Opendocument sheet, and opens it via Nextcloud Richdocuments app, with CODE.
GUEST "Saves as" or ("Export") to /File.ods

Expected behavior
The "/" is related to the files of USER, not to the share.
GUEST should be restricted to writing in the shared folder only.

Screenshots
N/A

Client details:

  • OS: Linux
  • Browser Chromium
  • Version 126.0.6478.126
  • Device: desktop

Server details

Operating system:
Fedora

Web server:
Apache

Database:
Mariadb

PHP version:
8.3.8

Nextcloud version:
29.0.3

Version of the richdocuments app
8.4.3

Version of Collabora Online
COOLWSD version:
24.04.4.2 git hash: fbf97e9 (E)

Configuration of the richdocuments app

    "apps": {
        "richdocuments": {
            "canonical_webroot": "",
            "disable_certificate_verification": "",
            "enabled": "yes",
            "external_apps": "",
            "installed_version": "8.4.3",
            "public_wopi_url": "https:\/\/office.xxx.xxx:443",
            "types": "prevent_group_restriction",
            "wopi_allowlist": "10.88.0.0\/16",
            "wopi_url": "https:\/\/office.xxx.xxx:443"
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions