Skip to content

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

@llucax

Description

@llucax

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions