nextcloud/apps/files_sharing
nfebe b8cb3c2a73 fix(files_sharing): Restore password guard return for new public shares
fix(files_sharing): Restore password guard return for new public shares

Creating a new public share without a password silently succeeded: the

password error was shown but execution continued, and the share was

created without a password. Users had to save a second time for the

password to apply.

The password guard now blocks the save when a new public share is

missing a password. Non-public shares (user/group) are never blocked

by this guard, so they remain unaffected.

Tests invoke the real saveShare method against a stubbed context and

cover the save-twice symptom and the non-public-share regression.

Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2026-04-23 19:08:04 +00:00
..
appinfo fix(federation): Increase the size of owner to allow oCIS cloud ids 2025-10-27 16:38:48 +01:00
composer fix(federation): Increase the size of owner to allow oCIS cloud ids 2025-10-27 16:38:48 +01:00
css chore: Compile assets 2024-11-19 09:42:13 +01:00
img chore: Make app icons consistent Material Symbols with same settings 2024-07-10 15:53:45 +02:00
l10n fix(l10n): Update translations from Transifex 2026-02-19 00:21:27 +00:00
lib chore: psalm fixes 2026-04-21 22:05:39 +02:00
src fix(files_sharing): Restore password guard return for new public shares 2026-04-23 19:08:04 +00:00
templates fix(files_sharing): show proper share not found error message 2024-08-06 16:25:10 +02:00
tests fix(files_sharing): make legacy downloadShare endpoint compatible with legacy behavior 2026-02-20 19:43:49 +01:00
.l10nignore chore: Add SPDX header 2024-06-02 20:00:00 +02:00
openapi.json chore: update openapi 2026-04-21 22:06:00 +02:00
openapi.json.license chore: Add SPDX header 2024-06-02 20:00:00 +02:00