nextcloud / nextcloud/android

"Move or Copy" option doesn't appear with "view only" permissions

Open
#16,243 0 comments 0 reactions 0 assignees View on GitHub
0. Needs triage bug
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [x] This is a **bug**, not a question or an enhancement.
- [x] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. Create a share with "View only" permissions and share with another user
2. On the user that can now see the share, open the context menu on any shared file
3. The "Move or Copy" option is not shown, so the user can't copy the file

### Expected behaviour

The user with "view only" access should be able to **COPY** the file, so the option should be present but limited to only copy (ideally the menu option should be named only Copy to avoid confusing the user.

### Actual behaviour

No "Move or Copy" option is shown, there is no way to copy the file unless it is downloaded and re-uploaded.

### Android version

16

### Device brand and model

Google Pixel 6a

### Stock or custom OS?

Stock

### Nextcloud android app version

3.34.1

### Nextcloud server version

31.0.12

### Using a reverse proxy?

No

### Android logs

I don't think they are relevant, but I'm happy to provide some if needed.

### Server error logs

I don't think they are relevant, but I'm happy to provide some if needed.

### Additional information

I don't think logs are needed because it seems to me like this issue is not really a bug in the sense that there is a line of code that is wrong and it needs to be investigated. It looks to me like it is an oversight. Maybe this is on the border between a bug and a "new features", so feel free to change the issue type if you think it fits better on a new feature type of issue.

I tried different custom permissions combinations, and it seems like the only way to get the "Move or Copy" option is to have all permissions enabled (Create, Edit, Delete). I tried with only read permissions and the "Allow download and share" option but it doesn't seem to help.

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.