server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Shared Folder with Custom Permissions Displays as "View Only"

Open kesselb opened this issue 1 year ago • 6 comments

⚠️ This issue respects the following points: ⚠️

Bug description

When sharing a folder with custom permissions (e.g., "Read & Share"), the share functions correctly, but the list of shares incorrectly displays the permissions as "View Only," causing confusion for users.

Steps to reproduce

  1. Share a folder with another user using custom permissions ("Read & Share").
  2. The list of shares for the share owner shows "View only"

The share itself seems to work, only the permissions are shown wrong.

https://github.com/user-attachments/assets/1ef2fa72-be70-453b-90c8-616c5a302e7a

Expected behavior

The list should display "custom permissions

Nextcloud Server version

30

kesselb avatar Dec 20 '24 13:12 kesselb

En navegador Chrome se ve bien, compruebalo. Observo que tienes un PWA

diegmero avatar Dec 21 '24 22:12 diegmero

@nfebe suspected frontend issue that happens in specific browsers, can you check 🙏

sorbaugh avatar Dec 23 '24 08:12 sorbaugh

Same goes for the opposite. If you create a view-only, then open the menu and click "customize", it will be shown as "custom permissions"

Image

This is because we have the default sharing including share to allow users to add link shares to their own account with this UI Image

https://github.com/nextcloud/server/blob/beea8854cac3544792fc13514b5b194b875b44e6/apps/files_sharing/lib/Controller/ShareAPIController.php#L717-L719 https://github.com/nextcloud/server/blob/d6efc531f6999b90330ec62869261be97dbe823f/apps/files_sharing/src/mixins/SharesMixin.js#L135-L142

skjnldsv avatar Dec 28 '24 10:12 skjnldsv

@nfebe this is a customer issue. We need to find a fix for the next release early January

skjnldsv avatar Dec 28 '24 10:12 skjnldsv

Any news here on this issue? Is there a chance this will be fixed with 30.0.5 next week?

sushifrick avatar Jan 10 '25 07:01 sushifrick

Can confirm this behavior still exists in Version 30.0.2

ElSi-DVT avatar Dec 09 '25 14:12 ElSi-DVT