Skip to content

Public link password enforcement only for writeable links #1379

@micbar

Description

@micbar

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

If password enforcement is only set on Writeable public links, changing a link from "CanRead" to "CanWrite" fails.

Reproduction Steps

  1. Set OC_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD=false
  2. Set OC_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD=true
  3. Create public link
  4. Change link to "Can Write"

Expected Outcome

Password policy modal should pop up and a password can be generated/entered.

Actual Outcome

An error occurs because Web tries to change the link without using a password.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions