Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Jul 9, 2024

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 backportbot bot requested review from artonge, Pytal and Fenn-CS July 9, 2024 07:06
@backportbot backportbot bot added 3. to review Waiting for reviews feature: sharing labels Jul 9, 2024
@backportbot backportbot bot 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>
@Fenn-CS Fenn-CS marked this pull request as ready for review July 9, 2024 13:04
@Fenn-CS Fenn-CS enabled auto-merge July 9, 2024 13:05
@Fenn-CS Fenn-CS merged commit 19ab1ff into stable28 Jul 9, 2024
48 checks passed
@Fenn-CS Fenn-CS deleted the backport/46321/stable28 branch July 9, 2024 13:44
@Altahrim Altahrim mentioned this pull request Jul 10, 2024
@@ -566,6 +566,9 @@ export default {
// allowed to revoke it too (but not to grant it again).
return (this.fileInfo.canDownload() || this.canDownload)
},
canRemoveReadPermission() {
Copy link
Member

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants