client icon indicating copy to clipboard operation
client copied to clipboard

desktop client cannot share any item from within a space that is not the personal space

Open individual-it opened this issue 1 year ago • 6 comments

Pre-submission Checks

  • [X] I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • [X] I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the bug

The client can only share files/folders from within the personal space. Its impossible to share or create public links from any other space

Expected behavior

ability to share the file

Steps to reproduce the issue

  1. create a space
  2. add a file into the space
  3. sync the space with the desktop client
  4. try to share the file by using the desktop client

Screenshots

image image

Logs

No response

Client version number

3.0.0.8761-alpha6 2a0649 Libraries Qt 5.15.5, OpenSSL 1.1.1q 5 Jul 2022 Using virtual files plugin: wincfapi windows-10.0.17763

Desktop environment (Linux only)

No response

Client package version and origin (Linux only)

No response

Installation path (Windows only)

No response

Server information

No response

Additional context

No response

individual-it avatar Oct 13 '22 05:10 individual-it

cc @michaelstingl @TheOneRing

pmaier1 avatar Oct 13 '22 10:10 pmaier1

~Does the user have edit settings for that space?~ If the user created the space they will have access...

TheOneRing avatar Oct 13 '22 10:10 TheOneRing

Good point. The user has to have the "Manager" role in order to be able to share.

pmaier1 avatar Oct 13 '22 10:10 pmaier1

@individual-it please capture log including HTTP, then upload here: https://cloud.owncloud.com/index.php/f/5905563 or here: https://cloud.owncloud.com/index.php/s/gCU2Iw7nl0ih0Hs

michaelstingl avatar Oct 13 '22 10:10 michaelstingl

@michaelstingl uploaded. The file tried to be shared when capturing that log is mz own space\\app.prg

individual-it avatar Oct 13 '22 11:10 individual-it

Did the client crash or was run without --logflush (as an alternative close the client before caputuring the log file)? The log ends when its getting interesting.

TheOneRing avatar Oct 13 '22 13:10 TheOneRing

@TheOneRing I've retried with

ownCloud 3.0.0.8912-daily20221025 [db8853](https://github.com/owncloud/client/commit/db885317895f219421ee1a9ea2d35bb391b886f4)
Libraries Qt 5.15.5, OpenSSL 1.1.1q 5 Jul 2022
Using virtual files plugin: wincfapi
windows-10.0.17763

When I get into the window I still get the not found red string, but I can search for existing users, but when I select a user the client tells me Wrong path, file/folder does not exist image

Here the log file, I hope its more useful this time ownCloud.log

individual-it avatar Oct 25 '22 12:10 individual-it

Final 3.0 will send users to web UI for sharing:

  • https://github.com/owncloud/client/pull/10241

michaelstingl avatar Nov 08 '22 15:11 michaelstingl