Skip to content

[stable34] fix(files_external): Allow editing auth mechanism on saved mounts#61515

Draft
backportbot[bot] wants to merge 1 commit into
stable34from
backport/61312/stable34
Draft

[stable34] fix(files_external): Allow editing auth mechanism on saved mounts#61515
backportbot[bot] wants to merge 1 commit into
stable34from
backport/61312/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Jun 22, 2026

Copy link
Copy Markdown

Backport of #61312

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

fix(files_external): Allow editing auth mechanism on saved mounts

Restores the pre-33 behaviour where admins can change the authentication

mechanism of an existing external storage mount through the settings UI.

After the External Storage settings rewrite the dropdown was locked

read-only for any mount with an id, leaving the value configured at

creation time as the only one ever shown. Backend type stays locked

because changing it would invalidate the mount; authentication

mechanism is independent and was always meant to remain editable.

Switching the mechanism now also clears the previously stored options

that the newly selected mechanism does not use, so stale credentials are

no longer kept in the saved configuration.

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

[skip ci]
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.

1 participant