nextcloud/apps
nfebe c8eef9f070 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:07:49 +00:00
..
admin_audit fix(l10n): Update translations from Transifex 2026-03-31 00:19:30 +00:00
cloud_federation_api fix(l10n): Update translations from Transifex 2026-02-24 00:19:43 +00:00
comments fix(l10n): Update translations from Transifex 2026-04-08 00:19:24 +00:00
contactsinteraction fix(l10n): Update translations from Transifex 2026-03-27 00:29:24 +00:00
dashboard fix(l10n): Update translations from Transifex 2026-04-01 00:19:33 +00:00
dav Merge pull request #59833 from nextcloud/backport/59778/stable32 2026-04-23 16:22:33 +02:00
encryption fix(l10n): Update translations from Transifex 2026-04-23 00:19:15 +00:00
federatedfilesharing fix(federatedfilesharing): Do not set the share id for an existing share 2026-04-20 18:33:32 +02:00
federation fix(l10n): Update translations from Transifex 2026-04-23 00:19:15 +00:00
files fix(files): do not show convert-file action in view-only shares 2026-04-23 12:22:32 +02:00
files_external fix(s3): ignore prefixes with repeating delimiters 2026-04-22 09:31:19 +00:00
files_reminders fix(l10n): Update translations from Transifex 2026-04-22 00:19:13 +00:00
files_sharing fix(files_sharing): Restore password guard return for new public shares 2026-04-23 19:07:49 +00:00
files_trashbin test: skip testTrashEntryCreatedWhenSourceNotInCache on object store 2026-04-08 16:04:57 +00:00
files_versions fix: only mask the permissions for the users home directory for public shares 2026-04-10 01:57:23 +02:00
lookup_server_connector fix(l10n): Update translations from Transifex 2026-03-28 00:30:40 +00:00
oauth2 fix(oauth): rotate the auth token only if the access token rotation was successful 2026-04-23 12:33:35 +00:00
profile fix(l10n): Update translations from Transifex 2026-04-20 00:19:05 +00:00
provisioning_api fix: Add missing PasswordConfirmationRequired attributes 2026-04-21 13:41:43 +00:00
settings fix(l10n): Update translations from Transifex 2026-04-22 00:19:13 +00:00
sharebymail fix(l10n): Update translations from Transifex 2026-04-22 00:19:13 +00:00
systemtags fix(l10n): Update translations from Transifex 2026-04-20 00:19:05 +00:00
testing fix: Fix caching routes by users with an active session 2025-12-15 09:53:32 +00:00
theming fix(l10n): Update translations from Transifex 2026-04-18 00:19:14 +00:00
twofactor_backupcodes fix(l10n): Update translations from Transifex 2026-03-30 00:29:37 +00:00
updatenotification fix(l10n): Update translations from Transifex 2026-04-21 00:18:52 +00:00
user_ldap fix(l10n): Update translations from Transifex 2026-04-08 00:19:24 +00:00
user_status fix(l10n): Update translations from Transifex 2026-04-08 00:19:24 +00:00
weather_status fix(l10n): Update translations from Transifex 2026-04-23 00:19:15 +00:00
webhook_listeners fix(l10n): Update translations from Transifex 2026-02-24 00:19:43 +00:00
workflowengine fix(l10n): Update translations from Transifex 2026-04-20 00:19:05 +00:00