nextcloud / nextcloud/server

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

Open
#49,941 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 30-feedback bug feature: sharing regression
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue. Reproduce the shared-folder case with "Read & Share" and trace the share list's permission label; done when custom permissions are displayed instead of "View only" and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
authorization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.