Skip to content

fix(files_sharing): Allow access to shares by disabled users if hide_disabled_user_shares is enabled - #62092

Merged
provokateurin merged 1 commit into
masterfrom
fix/files_sharing/disable-user-share-access-config
Jul 14, 2026
Merged

fix(files_sharing): Allow access to shares by disabled users if hide_disabled_user_shares is enabled#62092
provokateurin merged 1 commit into
masterfrom
fix/files_sharing/disable-user-share-access-config

Conversation

@provokateurin

Copy link
Copy Markdown
Member

No description provided.

@provokateurin provokateurin added this to the Nextcloud 35 milestone Jul 14, 2026
@provokateurin
provokateurin requested a review from a team as a code owner July 14, 2026 13:04
@provokateurin
provokateurin requested review from Altahrim, icewind1991, leftybournes and salmart-dev and removed request for a team July 14, 2026 13:04
@provokateurin provokateurin added bug 3. to review Waiting for reviews labels Jul 14, 2026
…disabled_user_shares is enabled

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin
provokateurin force-pushed the fix/files_sharing/disable-user-share-access-config branch from 24f227f to 950db4c Compare July 14, 2026 13:33
@provokateurin
provokateurin enabled auto-merge July 14, 2026 13:35
@provokateurin
provokateurin merged commit c762444 into master Jul 14, 2026
269 of 275 checks passed
@provokateurin
provokateurin deleted the fix/files_sharing/disable-user-share-access-config branch July 14, 2026 17:53
@provokateurin

Copy link
Copy Markdown
Member Author

/backport to stable34 please

@provokateurin

Copy link
Copy Markdown
Member Author

/backport to stable33 please

@provokateurin

Copy link
Copy Markdown
Member Author

/backport to stable32 please

@provokateurin

Copy link
Copy Markdown
Member Author

/backport to stable31 please

@provokateurin

Copy link
Copy Markdown
Member Author

/backport to stable30 please

@grembo

grembo commented Aug 11, 2026

Copy link
Copy Markdown

Without mentioning it in the commit message, this changed the default value of hide_disabled_user_shares from no to yes. After upgrading, internally shared folders of disabled users disappeared.

This could be rectified by running

./occ config:app:set files_sharing hide_disabled_user_shares --value no

Documentation at https://github.com/nextcloud/documentation/blob/master/admin_manual/configuration_user/user_configuration.rst#disable-and-enable-users needs to be adapted and this should be mentioned in release notes.

@grembo

grembo commented Aug 11, 2026

Copy link
Copy Markdown

If I understand the change correctly, it actually removes the option of disabling access to external links/shares of disabled users while maintaining access to internal shares (which was the previous default). Now, in order to keep access to internally shared folders, external access is also granted. IMHO this is suboptimal. I think a better solution would be to introduce a new configuration setting hide_disabled_user_external_shares which defaults to yes and restore the previous meaning and default of hide_disabled_user_shares.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants