Cannot share a folder from a Mountpoint after changing 'Available for' scope in an specific scenario
Open
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
- Having 3 users, admin, Alice and Bob. Only Bob belongs to group SALISU
- As admin create a mountpoint for an external storage (I used WND)
- Share a folder from the mountpoint with Alice
- Set 'Available for' the mountpoint to group SALISU
- 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

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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