owncloud / owncloud/ocis

Incoming share is falsely returned as outgoing share

Open
#5,951 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Steps to reproduce
1. As `admin`, share a file with `einstein` using the permissions `17` (read + share)
2. As `einstein`, accept the share
3. As `einstein`, query for outgoing shares: `https://host.docker.internal:9201/ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F&space_ref=...&reshares=true` -> Empty list, everything is fine
4. As `admin`, change the permissions of this share to `1` (read)
5. As `einstein`, query for outgoing shares again: `https://host.docker.internal:9201/ocs/v1.php/apps/files_sharing/api/v1/shares?path=%2F&space_ref=...&reshares=true` -> The incoming share is being returned here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.