Skip to content

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

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

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: kristian-zendato <kristian.zendato@nextcloud.com>
@kristian-zendato
kristian-zendato marked this pull request as ready for review September 14, 2026 12:24
@kristian-zendato
kristian-zendato requested review from a team and skjnldsv as code owners September 14, 2026 12:24
@kristian-zendato
kristian-zendato requested review from kristian-zendato and removed request for a team September 14, 2026 12:24
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.

4 participants