Skip to content

fix(files): properly handle folders without permissions#62254

Open
susnux wants to merge 3 commits into
masterfrom
fix/copy-move
Open

fix(files): properly handle folders without permissions#62254
susnux wants to merge 3 commits into
masterfrom
fix/copy-move

Conversation

@susnux

@susnux susnux commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

There was a bug in the filepicker (dialogs library) that passed always the current folder as selected node even if not pickable (setCanPick). So updated the library.

But we also must check if we have any nodes selected to enable the copy and move buttons.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@susnux susnux added this to the Nextcloud 35 milestone Jul 16, 2026
@susnux
susnux requested review from a team and skjnldsv as code owners July 16, 2026 22:10
@susnux susnux added bug 3. to review Waiting for reviews feature: files team: Files Code maintained by 📁 Files team labels Jul 16, 2026
@susnux
susnux requested review from kristian-zendato, pringelmann and sorbaugh and removed request for a team July 16, 2026 22:10
susnux added 3 commits July 17, 2026 16:19
There was a bug in the filepicker (dialogs library) that passed always
the current folder as selected node even if not pickable (`setCanPick`).
So updated the library.

But we also must check if we have any nodes selected to enable the
copy and move buttons.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux

susnux commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

/backport 66f55cb to stable34

@susnux

susnux commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

/backport 66f55cb to stable33

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 backport-request bug feature: files team: Files Code maintained by 📁 Files team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants