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 nfebe 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 <[email protected]>

Signed-off-by: nextcloud-command <[email protected]>
@nextcloud-command nextcloud-command force-pushed the backport/46321/stable28 branch from 0c992da to 710287f Compare July 9, 2024 11:43
@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 stable28 Jul 9, 2024
48 checks passed
@nfebe nfebe 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