[Feature Suggestion / Fix] Decouple "Global credentials, manually entered" visibility from "Allow people to mount external storage"

I have no support/technical question and have seen the support category. (Be aware that direct support questions will be deleted.)

on

Which general topic do you have

The Problem:

Currently in Nextcloud Hub 26 Spring (34.0.1), the visibility of the Personal → External Storages settings page is hardcoded to an administrative toggle found under Administration → External storage → Advanced options for external storage mounts called “Allow people to mount external storage”.

If an administrator unchecks this box to prevent users from mounting arbitrary/unauthorized external storage backends, Nextcloud completely hides the Personal External Storage UI tab for regular users.

Consequently, this breaks the ability to use the Global credentials, manually entered authentication method for admin-defined shares. If an administrator creates 20+ corporate SMB/CIFS shares centrally and sets them to use “Global credentials, manually entered” (so users only have to type their network password once), users have no way to input or save those credentials. Forcing administrators to use “User entered, store in database” as an alternative creates a terrible user experience, requiring users to authenticate individually for every single one of the 20+ shares.

The Proposed “Fix” (For a Future Nextcloud Release):

When an admin toggles off “Allow people to mount external storage” under “Advanced options for external storage mounts”, this should only hide the “Add external storage” option in the user UI, leaving the ability to set global credentials.

This layout fix allows administrators to lock down the server from unauthorized local or cloud mounts while still allowing users to maintain a single, centralized credential set for admin-approved network shares.

@rafalhycko welcome to the community and thanks tor your request :waving_hand:

please consider creating a PR on the developers GitHub nextcloud/server: :cloud: Nextcloud server, a safe home for all your data in the appropriate Repository, as the devs don’t generally hang out on the community forum…

feel free to link your request here for posterity and mark the issue as “solved” when done

thanks

GitHub Issue #61723