Skip to content

nmc/4516-files-sharing-password-disabled-after-editing-advanced-permission-without-changes-to-password#70

Open
suet-kei-chan wants to merge 1 commit into
mainfrom
nmc/4516-files-sharing-password-disabled-after-editing-advanced-permission-without-changes-to-password
Open

nmc/4516-files-sharing-password-disabled-after-editing-advanced-permission-without-changes-to-password#70
suet-kei-chan wants to merge 1 commit into
mainfrom
nmc/4516-files-sharing-password-disabled-after-editing-advanced-permission-without-changes-to-password

Conversation

@suet-kei-chan

@suet-kei-chan suet-kei-chan commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

What Changed
The password section in the Sharing Details / Advanced Settings panel has been improved to better reflect the current password state.

Before:
When a password was already set, the checkbox label showed "Replace current password" (taken from files_sharing domain)
The password input field was always visible when the checkbox was checked

After:
When a password is already set, the checkbox label now shows "Password set"
The password input field is hidden when a password is already set
A "Change password" button with a pencil icon appears next to the checkbox — clicking it reveals the input field so the user can enter a new password

How to Test
Open the Files app and right-click any file/folder → Sharing options
Click the share link row to open Advanced settings
Case A — No existing password:
Check the "Set password" checkbox → input field should appear
Case B — Existing password (set one first and save):
Reopen Advanced settings → label should say "Password set", input field should be hidden
Click "Change password ✏️" → input field should appear so you can enter a new one
Verify translations by switching the Nextcloud language to German (de / de_DE) and repeating the above — labels should show "Passwort gesetzt" and "Passwort ändern"

Screenshot 2026-06-16 at 15 23 06

…etails

- Replace 'Replace current password' label with 'Password set' when a password is already set
- Hide password input field when password is already set
- Add 'Change password' button with pencil icon to reveal the input field on demand
- Add translations for new strings across all supported locales
@suet-kei-chan suet-kei-chan self-assigned this Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant