owncloud / owncloud/core

Cannot share a folder from a Mountpoint after changing 'Available for' scope in an specific scenario

Open
#36,870 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type:Bug
Dominant language
PHP
Stars
8.8k
Forks
2.1k
Avg merge
20h 7m
Merged PRs (30d)
41

Description

Steps to reproduce
  1. Having 3 users, admin, Alice and Bob. Only Bob belongs to group SALISU
  2. As admin create a mountpoint for an external storage (I used WND)
  3. Share a folder from the mountpoint with Alice
  4. Set 'Available for' the mountpoint to group SALISU
  5. As Bob try to share the same folder with Alice
Expected behaviour

Share should happen somehow (not sure how the fix can be possible)

Actual behaviour

'Path already shared with user' warning is shown

Screen Shot 2020-02-03 at 13 53 56

The folder is no longer available for Alice due to the change of 'Available for' scope and also cannot be shared with Alice again through Bob

Server configuration

ownCloud version: 10.4.0 RC1

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 file, test, or entry point is named. Start by reproducing the five-user, mountpoint, and “Available for” scope steps, then inspect the sharing behavior that produces the “Path already shared with user” warning; completion is unclear because the issue does not define how sharing should work after the scope change.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.