richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

Opening NC right menu from richdocuments is not possible if the user does not have sharing permission

Open maximelehericy opened this issue 2 years ago • 1 comments

Describe the bug Usually in Collabora, the following icons are shown at the top right of the editor. image

The following one allows to open the sharing tab of the nextcloud files, and from the sharing tab, you can access the details, or the comments, or the chat and video tab, which is quite useful if you want to comment or have a call at the same time you edit the document. image

Howewer, this icon is not present if the user cannot share the file. But even if the user cannot share the file, he might want to comment it, or have a call. image

To Reproduce Steps to reproduce the behavior:

  1. Create a folder (or a groupfolder) and an office document inside the folder
  2. Share this folder with Alice, and remove the reshare permission
  3. Log with Alice
  4. Open the office document from the shared folder
  5. Alice is not able to open the Nextcloud right menu image

Expected behavior Even if the sharing permission is denied, Alice should be able to open the right side menu, as for any other document with sharing permission.

Screenshots See above

Client details:

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
  • Device: [e.g. iPhone6, desktop]

Server details

t.nc.c Operating system:

Web server:

Database:

PHP version:

Nextcloud version: 27.1.2

Version of the richdocuments app

Version of Collabora Online

Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

maximelehericy avatar Dec 01 '23 19:12 maximelehericy

Yes, currently the sidebar button withing collabora is bound to the sharing option. This might be something to discuss with @pedropintosilva if we could separate that and have something like a file info button instead that we can show independently from sharing. This would also allow us to solve something that @schiessle recently mentioned to me that the talk sidebar is not accessible on public share links. (Edit: issue at https://github.com/nextcloud/richdocuments/issues/3328)

juliusknorr avatar Dec 06 '23 14:12 juliusknorr