Skip to content

[stable32] fix(files_sharing): do not prevent share creation if password is enabled but not supported by the current share type#59262

Open
skjnldsv wants to merge 2 commits intostable32from
fix/sharing-password-checkbow
Open

[stable32] fix(files_sharing): do not prevent share creation if password is enabled but not supported by the current share type#59262
skjnldsv wants to merge 2 commits intostable32from
fix/sharing-password-checkbow

Conversation

@skjnldsv
Copy link
Copy Markdown
Member

@skjnldsv skjnldsv commented Mar 27, 2026

Follow-up of #58226

the issue is this part by Fon: "Also block saving new shares when password protection is enabled but no password is entered, regardless of enforcement settings."
It does not take into account that many shares don't support password protection.
Considering we have backend protection, I would argue we should still let the request fire and react accordingly

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

…led but not supported by the current share type

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv skjnldsv added this to the Nextcloud 32.0.7 milestone Mar 27, 2026
@skjnldsv skjnldsv self-assigned this Mar 27, 2026
@skjnldsv skjnldsv requested a review from a team as a code owner March 27, 2026 15:59
@skjnldsv skjnldsv requested review from nfebe and susnux and removed request for a team March 27, 2026 15:59
@skjnldsv skjnldsv added the bug label Mar 27, 2026
@skjnldsv skjnldsv requested a review from sorbaugh March 27, 2026 15:59
@github-actions github-actions bot changed the title fix(files_sharing): do not prevent share creation if password is enabled but not supported by the current share type [stable32] fix(files_sharing): do not prevent share creation if password is enabled but not supported by the current share type Mar 27, 2026
@skjnldsv
Copy link
Copy Markdown
Member Author

/backport! to stable33

@skjnldsv
Copy link
Copy Markdown
Member Author

/backport! to stable31

@susnux
Copy link
Copy Markdown
Contributor

susnux commented Mar 27, 2026

/backport! to master

@cristianscheid
Copy link
Copy Markdown
Contributor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants