Skip to content

[stable33] fix(files_sharing): Hide incompatible actions in shares - #61387

Merged
AndyScherzinger merged 2 commits into
stable33from
backport/60151/stable33
Jun 17, 2026
Merged

[stable33] fix(files_sharing): Hide incompatible actions in shares#61387
AndyScherzinger merged 2 commits into
stable33from
backport/60151/stable33

Conversation

@backportbot

@backportbotbackportbotBot commented Jun 17, 2026

Copy link
Copy Markdown

Backport of #60151

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.

@nfebe

Copy link
Copy Markdown
Contributor

/compile

@nfebe
nfebe marked this pull request as ready for review June 17, 2026 17:59
@nfebe
nfebe requested review from a team and skjnldsv as code ownersJune 17, 2026 17:59
@nfebe
nfebe requested review from sorbaugh and removed request for a teamJune 17, 2026 17:59
… 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>
@nfebe
nfebeforce-pushed the backport/60151/stable33 branch from 1ba7e01 to 06636d2CompareJune 17, 2026 17:59
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@AndyScherzinger
AndyScherzinger merged commit 2be035b into stable33Jun 17, 2026
120 of 124 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/60151/stable33 branch June 17, 2026 18:26
@nextcloud-botnextcloud-bot mentioned this pull request Jun 17, 2026
@nfebe

Copy link
Copy Markdown
Contributor

/backport to stable32

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.

4 participants

@nfebe@cristianscheid@AndyScherzinger@nextcloud-command