Skip to content

[stable28] fix(SharingDetailsView): Prevent illegal unselection of read permissions - #46364

Merged
nfebe merged 1 commit into
stable28from
backport/46321/stable28
Jul 9, 2024
Merged

[stable28] fix(SharingDetailsView): Prevent illegal unselection of read permissions#46364
nfebe merged 1 commit into
stable28from
backport/46321/stable28

Conversation

@backportbot

@backportbotbackportbotBot commented Jul 9, 2024

Copy link
Copy Markdown

Backport of #46321

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • 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.

@backportbot
backportbotBot requested review from Pytal, artonge and nfebeJuly 9, 2024 07:06
@backportbotbackportbotBot added this to the Nextcloud 28.0.8 milestone Jul 9, 2024
@solracsf
solracsf marked this pull request as ready for review July 9, 2024 11:31
@solracsf
solracsf marked this pull request as draft July 9, 2024 11:32
With the exception of "file drop" on link shares all other shares need the read permissions at least.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nfebe
nfebe marked this pull request as ready for review July 9, 2024 13:04
@nfebe
nfebe enabled auto-merge July 9, 2024 13:05
@nfebe
nfebe merged commit 19ab1ff into stable28Jul 9, 2024
@nfebe
nfebe deleted the backport/46321/stable28 branch July 9, 2024 13:44
@AltahrimAltahrim mentioned this pull request Jul 10, 2024
// allowed to revoke it too (but not to grant it again).
return (this.fileInfo.canDownload() || this.canDownload)
},
canRemoveReadPermission() {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Labels

3. to reviewWaiting for reviewsfeature: sharing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@nickvergessen@susnux@nfebe