Skip to content

[stable32] fix(files_sharing): Hide incompatible actions in shares - #61436

Merged
AndyScherzinger merged 2 commits into
stable32from
backport/61387/stable32
Jul 15, 2026
Merged

[stable32] fix(files_sharing): Hide incompatible actions in shares#61436
AndyScherzinger merged 2 commits into
stable32from
backport/61387/stable32

Conversation

@backportbot

@backportbotbackportbotBot commented Jun 19, 2026

Copy link
Copy Markdown

Backport of #61387

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.

@backportbotbackportbotBot added this to the Nextcloud 32.0.12 milestone Jun 19, 2026
@nfebe
nfebe marked this pull request as ready for review June 19, 2026 10:10
@nfebe
nfebe requested a review from a team as a code ownerJune 19, 2026 10:10
@nfebe
nfebe requested review from sorbaugh and susnux and removed request for a teamJune 19, 2026 10:10
@nfebe
nfebeforce-pushed the backport/61387/stable32 branch from d9b5a85 to 1a7b723CompareJune 19, 2026 12:46
@nfebe
nfebe requested a review from skjnldsv as a code ownerJune 19, 2026 12:46
@nextcloud-botnextcloud-bot mentioned this pull request Jun 25, 2026
@nextcloud-botnextcloud-bot mentioned this pull request Jul 14, 2026
@AndyScherzingerAndyScherzinger changed the title [stable32] [stable33] fix(files_sharing): Hide incompatible actions in shares[stable32] fix(files_sharing): Hide incompatible actions in sharesJul 15, 2026
… shares
Pending and deleted shares are not mounted into the user's filesystem, so
generic file operations like delete or download produced a misleading
"file is not available" error.
These shares now carry no permissions, so every permission-aware action
hides itself automatically, without the files app having to special-case
each view. Conversion additionally requires read permission, matching the
server-side readability check.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
@AndyScherzinger
AndyScherzingerforce-pushed the backport/61387/stable32 branch from 1a7b723 to 68ce5efCompareJuly 15, 2026 10:03
@AndyScherzinger

Copy link
Copy Markdown
Member

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@AndyScherzinger
AndyScherzinger merged commit 3fe928e into stable32Jul 15, 2026
121 of 124 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/61387/stable32 branch July 15, 2026 20:49
Sign up for freeto 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.

5 participants

@AndyScherzinger@Aiiaiiio@blizzz@nfebe@nextcloud-command