Skip to content

Error allows re-sharing in the sharing feature. #14287

@buidanhnam

Description

@buidanhnam

⚠️ 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

Step 1: Open the details of the folder/file.
Step 2: Select the "Sharing" tab.
Step 3: Share permissions with the specified user.
Step 4: Select permissions in the "Share Permissions" section and also check "Allow re-sharing" in the advanced options.

Expected behaviour

"Allow re-sharing" is an advanced option and does not affect the permissions already selected in the "Share Permissions" section.

Actual behaviour

the "Allow re-sharing" permission is presented as an advanced option.
However, in the code logic, if the "Allow re-sharing" permission is selected, all other permissions under "Share permissions" are ignored.

Android version

13

Device brand and model

Samsung

Stock or custom OS?

Stock

Nextcloud android app version

3.30.6

Nextcloud server version

30300690

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

Additional information

I noticed that if the "Allow re-sharing" option is "isChecked," other permissions are ignored.

binding.shareProcessAllowResharingCheckbox.isChecked -> getReSharePermission()

Image

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions